import hashlib


def get_md5(file_name):
    """Get MD5 hash of file"""
    with open(file_name, 'rb') as f:
        # read contents of the file
        data = f.read()    
    # pipe contents of the file through
    md5 = hashlib.md5(data).hexdigest()
    return md5