private static @Nullable VirtualFile getFileToSelect(@Nullable String path) {
    return path != null ?
           VfsUtil.findFileByIoFile(new File(FileUtilRt.toSystemDependentName(path)), false) :
           null;
  }
private static @Nullable VirtualFile getFileToSelect(@Nullable String path)