def file_extensions_all_equal(ext_list):
    """Checks that all file extensions are equal. 

    Args:
        ext_list (list): file extensions, eg ['.csv','.csv']

    Returns:
        bool: all extensions are equal to first extension in list?
    """
    return len(set(ext_list)) == 1
