public static FileBitPatternInfo fromXmlFile(File inputFile) throws IOException {
		SAXBuilder sax = XmlUtilities.createSecureSAXBuilder(false, false);
		try (InputStream fis = new FileInputStream(inputFile)) {
			Document doc = sax.build(fis);
			Element rootElem = doc.getRootElement();
			return fromXml(rootElem);
		}
		catch (JDOMException | IOException e) {
			Msg.error(FileBitPatternInfo.class, "Bad file bit pattern file " + inputFile, e);
			throw new IOException("Failed to read file bit pattern " + inputFile, e);
		}

	}
Creates a {@link FileBitPatternInfo} instance from a XML file.

@param inputFile name of xml file to read
@return new {@link FileBitPatternInfo} instance, never null
@throws IOException if file io error or xml data format problem
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/FileBitPatternInfo.java