first cut to reading and writing kmz