finished csv file generator