public static @Nullable VirtualFile findFileByIoFile(@NotNull File file, boolean refreshIfNeeded) {
    return findFile(file.getAbsolutePath().replace(File.separatorChar, '/'), refreshIfNeeded);
  }
public static @Nullable VirtualFile findFileByIoFile(@NotNull File file, boolean refreshIfNeeded)