code: public static Stream<Path> uncheckedList(final Path path) {
          try {
              return Files.list(path);
          } catch (final IOException ex) {
              throw new UncheckedIOException("Error fetching file list", ex);
          }
      }
docs: Fetch a stream of files in the provided directory path.
  @param path the directory path
  @return a stream of filenames