<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_md5(path):
 """Create the md5 hash of a file using the hashlib library."""

    m = hashlib.md5()
    # rb necessary to run correctly in windows.
    with open(path, "rb") as f:
        while True:
            data = f.read(8192)
            if not data:
                break
            m.update(data)

    return m.hexdigest()