private static void processFile(String path) throws Exception {
    try (InputStream stream = new BufferedInputStream(new FileInputStream(path))) {
      int hc = 0;
      while (true) {
        int b = stream.read();
        if (b == -1) break;
        hc = hc * 31 + b;
      }

      hashes.putValue(hc, path);
    }
  }
private static void processFile(String path)