code: public static HashId createHashId(File file) throws IOException {
  	try (FileInputStream stream = new FileInputStream(file)) {
  	    return createHashId(stream);
  	}
      }
docs: This method creates a {@link HashId} from a {@link File}.
  
  @param file
  the file to be read to calculate the {@link HashId}.
  @return A {@link HashId} object is returned.
  @throws IOException
  is thrown in case of an IO issue.