Updated to use csv file name for output shp