docs: @Nonnull
      public static String getDigestOf(@Nonnull File file) throws IOException {
          // Note: getDigestOf() closes the input stream.
          return getDigestOf(Files.newInputStream(fileToPath(file)));
      }