added function to join csv to shp