code: public static List<Path> listResources(String ...prefixes) throws IOException {
      List<Path> result = new ArrayList<>();
      ClassPath classPath = ClassPath.from(Utils.class.getClassLoader());
      for (ResourceInfo info : classPath.getResources()) {
        String path = info.getResourceName();
        for (String prefix : prefixes) {
          if (path.startsWith(prefix)) {
            result.add(Paths.get(path));
          }
        }
      }
      return result;
    }
docs: Recursively list all resources under the given path prefixes.