modified and cleaned code to fix bugs relating to erroneous csv file writes due to commas in business names and categories