Use concurrent iterator for cycling through osm entries. Use rolling buffer to drop data into file when X number of entries have been extracted.