@Nullable Pair<Path, Path> getSelectedFile() {
    ImportOldConfigsState.Companion.getInstance().saveImportOldConfigType(myRbImportAuto, myRbImport, myRbDoNotImport, myResult != null);

    if (myRbImportAuto.isSelected()) {
      return new Pair<>(myGuessedOldConfigDirs.get(Math.max(myComboBoxOldPaths.getSelectedIndex(), 0)), null);
    }
    if (myRbImport.isSelected()) {
      return myResult;
    }
    return null;
  }
@Nullable Pair<Path, Path> getSelectedFile()