code: @Override
      public File showDialog(WindowBasedTextGUI textGUI) {
          selectedFile = null;
          super.showDialog(textGUI);
          return selectedFile;
      }
docs: {@inheritDoc}
  @param textGUI Text GUI to add the dialog to
  @return The file which was selected in the dialog or {@code null} if the dialog was cancelled