@Override
	public void createNewScript(ResourceFile newScript, String category) throws IOException {
		try (PrintWriter writer = new PrintWriter(new FileWriter(newScript.getFile(false)))) {
			writeHeader(writer, category);
			writer.println("");
			writeBody(writer);
			writer.println("");
		}
	}
An abstract {@link GhidraScriptProvider} used to provide common functionality to different
types of Python script implementations
Ghidra/Features/Base/src/main/java/ghidra/app/script/AbstractPythonScriptProvider.java