Filling out zip functionality to better work different types of shapefiles