public static void saveFile(OpenFile file) {
		try {
			PrintWriter writer = new PrintWriter(file.name);
			for (String line : file.lines) {
				writer.println(line);
			}
			writer.close();
		} catch (FileNotFoundException e) {
			System.out.println("Error reading file: " + file.name);
		}
		
	}