def METHOD_NAME(filename: Union[str, Path]) -> str:
    "Return the md5 hex digest of the file without using cache."
    chunk_size = 2**20
    _hash = hashlib.md5()
    with open(filename, "rb") as istream:
        chunk = istream.read(chunk_size)
        while chunk:
            _hash.update(chunk)
            chunk = istream.read(chunk_size)
    return _hash.hexdigest()