@NotNull
  public static File requireExistingParent(@NotNull File file) {
    File result = findExistingParent(file);

    if (result == null) {
      LOG.error("Existing parent not found for " + file.getAbsolutePath());
    }

    return Objects.requireNonNull(result);
  }
@NotNull
  public static File requireExistingParent(@NotNull File file)