Flat file question

Hi Guyz,
I have a scenario where i’m receiving a flatfile document, and the output has to be in txt format … i have created the schemas and invoked these services: getfile, converttovalue, savetopipeline and also have mapped bytes to ffdata, the code runs fine but it gives an output in xml format. Any help would really be appreciated.
Thanks,
Leon