Preparing the stock csv file for upload