import csv


def csv2file(path):
    """
    Args: 
        path to csv file
    Output:
        list containing lines of csv file
    """
    with open(str(path), 'r') as f:
        content = csv.reader(f, delimiter = ',')
        contentlist = []
        for row in content:
            contentlist.append(row[0].strip())
    return contentlist