docs: def hashfile(fname, blocksize=65536, count=0):
      """Compute md5 hex-hash of a file
  
      Parameters
      ----------
      fname: str
          path to the file
      blocksize: int
          block size in bytes read from the file
          (set to `0` to hash the entire file)
      count: int
          number of blocks read from the file
      """
      hasher = hashlib.md5()
      fname = pathlib.Path(fname)
      with fname.open('rb') as fd:
          buf = fd.read(blocksize)
          ii = 0
          while len(buf) > 0:
              hasher.update(buf)
              buf = fd.read(blocksize)
              ii += 1
              if count and ii == count:
                  break
      return hasher.hexdigest()