import csv


def readCSV(path2File):
    """
        returns a list of links to pdfs.
        Assumes the first column of the csv file corresponds to the links

    """

    pdfFileLinks = []
    with open(path2File, newline='') as csvfile:
        data = csv.reader(csvfile)
        for row in data:
            pdfFileLinks.append(row[0])
    
    return pdfFileLinks