'Initializes a CSV generator.
Args:
csv_filename: File on disk containing CSV data.
openfile: Used for dependency injection of \'open\'.
create_csv_reader: Used for dependency injection of \'csv.reader\'.'

def __init__(self, csv_filename, openfile=open, create_csv_reader=csv.reader):

    self.csv_filename = csv_filename
    self.openfile = openfile
    self.create_csv_reader = create_csv_reader
