'Function to read a CSV file and return a list of rows'

@staticmethod
def read_csv(fileName):

    import csv
    csv.field_size_limit((2 ** 20))
    data = []
    dappend = data.append
    f = open(fileName, 'rb')
    transReader = csv.reader(f)
    for row in transReader:
        dappend(row)
    f.close()
    return data
