I'm sorry I know this is very basic but how do it output the record set to a flat file once i'm done sorting/validating the data?