class DirectoryWalker {

  public ImmutableList<Path> walk(PathConsumer pathConsumer) throws IOException {
    ImmutableList<Path> files = walk();
    for (Path path : files) {
      pathConsumer.accept(path);
    }
    return files;
  }

  public  DirectoryWalker(Path rootDir);

}