public Map<String, Long> digestFiles(File dir, Set<String> ignoredFiles) throws IOException {
    return digestFiles(dir.toPath(), ignoredFiles);
  }
public Map<String, Long> digestFiles(File dir, Set<String> ignoredFiles)