public static File getPreviousApplicationSettingsFile(String filename) {

		List<File> settingsDirs = getPreviousApplicationSettingsDirsByTime();
		for (File dir : settingsDirs) {
			String dirPath = dir.getPath();
			if (dirPath.endsWith("Test")) {
				continue; // Ignore any test directories.
			}

			String altFilePath = dirPath + File.separatorChar + filename;

			File file = new File(altFilePath);
			if (!file.exists()) {
				continue;
			}

			return file;
		}
		return null;
	}
Searches previous Application Settings directories 
({@link #getUserSettingsDirsByTime()}) to find a file by the given name.   This is 
useful for loading previous user settings, such as preferences.

<p>Note: this method will ignore any test versions of settings directories.

@param filename the name for which to seek; must be relative to a settings directory
@return the most recent file matching that name found in a previous settings dir
Ghidra/Framework/Generic/src/main/java/ghidra/framework/GenericRunInfo.java