private static @NotNull File newFile(boolean tmp) {
    String fileName = "caches-" + new SimpleDateFormat("yyyyMMdd-HHmmss").format(new Date(System.currentTimeMillis())) +
                      "." + FILE_EXTENSION + (tmp ? ".tmp" : "");
    return new File(new File(PathManager.getLogPath()), fileName);
  }
private static @NotNull File newFile(boolean tmp)