@Override
  public File getResult() {
    if (isForFile()) return null;
    if (getSelectedLocation().getParentFile() == null) return null;
    return getSelectedLocation();
  }
@Override
  public File getResult()