import csv


def layernames_from_csv(filepath):
    """Read first line of CSV file and return list of layer names in header"""
    with open(filepath) as f:
        reader = csv.reader(f)
        header = next(reader)
        return [n for n in header if n[:2] == 'l:']