def _md5_hash_file(path, read_size=2560):
    import hashlib
    hash_function = hashlib.md5()
    with open(path, 'r') as my_file:
        data = my_file.read(read_size)
        while data:
            hash_function.update(data)
            data = my_file.read(read_size)
    return hash_function.digest()
Return a binary md5 checksum of file at path.
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/docs/base.py/_md5_hash_file