added code to CSV reader file