<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hash_file(filepath: str) -> str: """Return the hexdigest MD5 hash of content of file at `filepath`."""

    md5 = hashlib.md5()
    acc_hash(filepath, md5)
    return md5.hexdigest()