added validation for shapefile upload