public static ToolTemplate readToolTemplate(File toolFile) {
		GhidraToolTemplate toolTemplate = null;
		try (FileInputStream is = new FileInputStream(toolFile)) {

			SAXBuilder sax = XmlUtilities.createSecureSAXBuilder(false, false);

			Document doc = sax.build(is);
			Element root = doc.getRootElement();

			toolTemplate = new GhidraToolTemplate(root, toolFile.getAbsolutePath());
		}
		catch (FileNotFoundException e) {
			throw new AssertException(
				"We should only be passed valid files. Cannot find: " + toolFile.getAbsolutePath());
		}
		catch (JDOMException e) {
			Msg.error(LOGGER, "Error reading XML for " + toolFile, e);
		}
		catch (Exception e) {
			Msg.error(LOGGER, "Can't read tool template for " + toolFile, e);
		}

		updateFilenameToMatchToolName(toolFile, toolTemplate);

		return toolTemplate;
	}
Returns all tools found in the classpath that live under a root
'defaultTools' directory or a root 'extraTools' directory

@return the tools
Ghidra/Framework/Project/src/main/java/ghidra/framework/ToolUtils.java