private Element getSavedToolElement() {
		File userSettingsDir = Application.getUserSettingsDirectory();
		File savedToolFile = new File(userSettingsDir, SAVED_TOOL_FILE);
		if (savedToolFile.exists()) {
			return loadToolXml(savedToolFile);
		}

		Msg.debug(this, "No saved tool found in " + userSettingsDir);
		List<File> dirs = GenericRunInfo.getPreviousApplicationSettingsDirsByTime();
		for (File dir : dirs) {
			savedToolFile = new File(dir, SAVED_TOOL_FILE);
			Msg.debug(this, "Checking for previous tool in " + dir);
			if (savedToolFile.exists()) {
				Msg.debug(this, "Using previous tool " + savedToolFile);
				return loadToolXml(savedToolFile);
			}
		}

		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