@Override
			public boolean accept(File pathname, GhidraFileChooserModel model) {
				String lowerCaseName = pathname.getName().toLowerCase();
				if (model.isDirectory(pathname)) {
					return !lowerCaseName.endsWith(ProjectLocator.getProjectDirExtension());
				}
				if (lowerCaseName.endsWith(ProjectLocator.getProjectExtension())) {
					return true;
				}
				return false;
			}
Popup up file chooser dialog so the user can select the
location for the exported tool file.
@param template template to export
@param msgSource source of status message for successful export
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndPlugin.java