import hashlib


def get_md5_checksum(filename):
    """Return md5sum of a file."""
    with open(filename, "rb") as f:
        bytes = f.read()  # read file as bytes
        return hashlib.md5(bytes).hexdigest()