@ApiStatus.Obsolete
  public static long lastModified(@NotNull File file) {
    FileAttributes attributes = getAttributes(file);
    return attributes != null ? attributes.lastModified : 0;
  }
@ApiStatus.Obsolete
  public static long lastModified(@NotNull File file)