import csv


def find_cols(filepath, columnsdata):
    """
    find columns common between column names provided in specifications
    and those given in file.
    """
    with open(filepath) as f:
        csvf = csv.reader(f)
        columnsf = next(csvf)
        # columns as per order in file
        return [c for c in columnsf if c in columnsdata]