Flat file export