static public void writeExperimentData(ExperimentData dataset)
	{
		BufferedWriter writer = null;
		try
		{
			String time = new SimpleDateFormat("yyyy-MM-dd_HH:mm:ss").format(Calendar.getInstance().getTime());
			String output = createDataString(dataset, time);
			
			// create file named Experiment_ with the current time as the suffic
			File logFile = new File("Experiment_"+ time);
			System.out.println(logFile.getCanonicalPath());
			
			writer = new BufferedWriter(new FileWriter(logFile));
			writer.write(output);
		}
		catch(Exception e)
		{
			e.printStackTrace();
		}
		finally
		{
			try
			{
				writer.close();
			}
			catch(Exception e)
			{
				e.printStackTrace();
			}
		}
	}