@SuppressWarnings("unchecked")
	public static void parseFromFile(String file) {
		try {
			ObjectInputStream ois = new ObjectInputStream(new FileInputStream(
					new File(file)));
			Configuration.booleanOptions = (Map<String, BooleanSetting>) ois
					.readObject();
			Configuration.doubleOptions = (Map<String, DoubleSetting>) ois
					.readObject();
			Configuration.floatOptions = (Map<String, FloatSetting>) ois
					.readObject();
			Configuration.integerOptions = (Map<String, IntegerSetting>) ois
					.readObject();
			Configuration.longOptions = (Map<String, LongSetting>) ois
					.readObject();
			Configuration.pathOptions = (Map<String, PathSetting>) ois
					.readObject();
			Configuration.stringOptions = (Map<String, StringSetting>) ois
					.readObject();
			Configuration.optionGroups = (Map<String, List<Setting<?>>>) ois
					.readObject();
			Configuration.optionIdToTitle = (Map<String, String>) ois
					.readObject();
			Configuration.optionToGroup = (Map<Setting<?>, String>) ois
					.readObject();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}