public void saveConfig(String configString, File file)
	{
		String configuration = this.prepareConfigString(configString);

		try 
		{
			BufferedWriter writer = new BufferedWriter(new FileWriter(file));
			writer.write(configuration);
			writer.flush();
			writer.close();

		}
		catch (IOException e){e.printStackTrace();}
	}