def equal_files(file_name_1, file_name_2):
    """Test if files are identical, return bool"""
    
    with open(file_name_1) as file_1:
        with open(file_name_2) as file_2:
            for x in file_1:
                if x != file_2.readline():
                    return False
    return True