reformating and putting geometries in its own file