File (@NotNull File file) { File result = findExistingParent(file); if (result == null) { LOG.error("Existing parent not found for " + file.getAbsolutePath()); } return Objects.requireNonNull(result); }