Extracted a method
The data will be uploaded directly from the CSV now. Also, updated the data