private Element loadToolXml(File file) {
		FileInputStream fileInputStream = null;
		try {
			fileInputStream = new FileInputStream(file.getAbsolutePath());
			SAXBuilder sax = XmlUtilities.createSecureSAXBuilder(false, false);
			Element root = sax.build(fileInputStream).getRootElement();
			return root;
		}
		catch (Exception e) {
			Msg.showError(getClass(), null, "Error Reading Tool", "Could not read tool: " + file,
				e);
		}
		finally {
			if (fileInputStream != null) {
				try {
					fileInputStream.close();
				}
				catch (IOException e) {
					// we tried
				}
			}
		}
		return null;
	}
Read {@link ApplicationProperties} from the specified file path relative
to the current working directory.
<p>
<b>The given properties file is expected to have the
{@link ApplicationProperties#APPLICATION_NAME_PROPERTY} and
{@link ApplicationProperties#APPLICATION_VERSION_PROPERTY} properties
set.</b>
@param propertiesFilename the name of the properties file.
@return application properties
@throws IOException if file read error occurs
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/StandAloneApplication.java