Exporting Data and Metadata from a Planning Application to a Flat File