import csv


def convert(filepath, formatter):
    """Convert CSV file to a list of strings by applying the provided formatter
    to each line.
    """
    output = []
    with open(filepath, "r", encoding="utf-8") as file:
        reader = csv.reader(file)
        for row in reader:
            output.append(formatter(row))
    return output