@Deprecated(forRemoval = true)
  public static void setLastOpenedFile(@Nullable Project project, @Nullable VirtualFile file) {
    if (file != null) {
      setLastOpenedPath(project, file.getPath());
    }
  }
@Deprecated(forRemoval = true)
  public static void setLastOpenedFile(@Nullable Project project, @Nullable VirtualFile file)