public static boolean saveFile(File file) {
		try {
			output = new PrintStream(file);
		} catch (Exception e) {
			e.printStackTrace();
			System.err.println("Unable to open file "+file.getPath());
			return false;
		}
		output.println("-version "+version);
		for (Part p: Main.partList) {
			savePart(p);
		}
		output.flush();
		output.close();
		System.out.println("Saved File "+file.getPath());
		return true;
	}