public File getTempFile(String name) {
		return new File(tempDir, name);
	}
Read an XML file as a resource.

@param pkg
           where resource resides
@param name
           name of the resource that is in the given package
@throws IOException thrown if there was a problem accessing the xml resource.
Ghidra/Features/Base/src/main/java/ghidra/util/xml/XmlTestHelper.java