public static void writeFile(String savePath, String name, String content) {
		String path = savePath + "/" + name;

		try {
			FileOutputStream fileOutputStream = new FileOutputStream(path);
			PrintStream printStream = new PrintStream(fileOutputStream);
			printStream.print(content);
			printStream.close();

		} catch (IOException e) {
			System.out.println("Error writing file: " + e);
		}
	}