import hashlib


def identical_checksum(filename1, filename2):
    """Confirm that the two files have identical checksum."""
    checksum_1 = hashlib.md5(open(filename1, 'rb').read()).hexdigest()
    checksum_2 = hashlib.md5(open(filename2, 'rb').read()).hexdigest()
    return checksum_1 == checksum_2