public static void setLastOpenedFile(@Nullable Project project, @NotNull Path file) {
    setLastOpenedPath(project, FileUtil.toSystemIndependentName(file.toString()));
  }
public static void setLastOpenedFile(@Nullable Project project, @NotNull Path file)