protected @NotNull Set<String> scanAll(@Nullable Path file, boolean includeNestDirs) {
    if (file == null) {
      return Collections.emptySet();
    }
    return scanAll(Collections.singleton(file), includeNestDirs);
  }
protected @NotNull Set<String> scanAll(@Nullable Path file, boolean includeNestDirs)