@@ -0,0 +1,836 @@
+package com.github.sormuras.bach.internal;%0A%0Aimport java.nio.file.DirectoryStream;%0Aimport java.nio.file.Files;%0Aimport java.nio.file.Path;%0Aimport java.util.Comparator;%0Aimport java.util.List;%0Aimport java.util.TreeSet;%0A%0A/** Path-related helpers. */%0Apublic class Paths %7B%0A%0A  /** %7B@return a listing of the directory in natural order with the given filter applied%7D */%0A  public static List%3CPath%3E list(Path directory, DirectoryStream.Filter%3C? super Path%3E filter) %7B%0A    var paths = new TreeSet%3C%3E(Comparator.comparing(Path::toString));%0A    try (var stream = Files.newDirectoryStream(directory, filter)) %7B%0A      stream.forEach(paths::add);%0A    %7D catch (Exception e) %7B%0A      throw new Error(%22Stream directory '%22 + directory + %22' failed: %22 + e, e);%0A    %7D%0A    return List.copyOf(paths);%0A  %7D%0A%0A  /** Hidden default constructor. */%0A  private Paths() %7B%7D%0A%7D%0A

Introduce Path-related helpers