def compare_first_4k(file, file_to_compare):
    """
        Should compare the first 4k of each file to see if they match
    """
    file_bytes = b''
    file_to_compare_bytes = b''
    with open(file, 'rb') as f:
        file_bytes = f.read(4096)
        if len(file_bytes) != 4096:
            raise IOError(
                'Filegardener - compare_first_4k: Did not read the expected file size:{}'
                .format(4096))
    with open(file_to_compare, 'rb') as f:
        file_to_compare_bytes = f.read(4096)
        if len(file_bytes) != 4096:
            raise IOError(
                'Filegardener - compare_first_4k: Did not read the expected file size:{}'
                .format(4096))
    if file_bytes == file_to_compare_bytes:
        return True
    else:
        return False
