adapt + add tests for lat/lon
format files