Finished implementation for mechanism to persist kml files