public void open() throws IOException {
		File xmlFile =
			new ResourceFile(CryptoKeyFactory.getCryptoDirectory(), fileName + ".xml").getFile(false);
		writer = new PrintWriter(xmlFile);
		writer.println("<FIRMWARE NAME=\"" + fileName + "\">");
	}
Opens the crypto key file.
WARNING: If a file already exists, it will be overwritten.
@throws IOException if an I/O error occurs
Ghidra/Features/FileFormats/src/main/java/ghidra/file/crypto/CryptoKeyFileTemplateWriter.java