public File getSelectedFile() {
		show();
		if (wasCancelled) {
			return null;
		}

		return validatedFiles.getFile();
	}
Returns the selected file. This can be set either by the  programmer via
{@link #setSelectedFile(File)} or by a user action, such as either typing the
filename into the UI or selecting the file from a list in the UI.

@return the selected file; null if cancelled or no file was selected
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/GhidraFileChooser.java