public void writeConfig(String fileName) throws Exception
	{
		BufferedWriter out = new BufferedWriter(new FileWriter(fileName));

		List<String []> conf = collectConfig();
		for(String [] entry : conf)
			writeLine(out, entry[0] + " = " + entry[1]);

		out.close();
	}