completed write to csv file

Writing to CSV file completed.