public static void writeStringToFile(String s, File file)
	{
		makeFile(file, false);
		try
		{
			BufferedWriter b = new BufferedWriter(new FileWriter(file));
			b.write(s);
			b.close();
		}
		catch(IOException e)
		{
			//only possible if file hasn't been created
			e.printStackTrace();
		}
	}