public static void writeValues(AController controller, float value, String file){
		BufferedWriter br = null;
		try {
			br = new BufferedWriter(new FileWriter(file, true));
			br.write(Float.toString(value)+",");
		}
		catch (IOException e) {
			System.err.println("Error writing to file");
		}
		finally {
			try {br.close();} catch (IOException e){ };
		}
	
	}