Thank You all for reply.
I am sorry, I think it was my mistake didn't explain you what I need.
I know how to create Flat file Plus
I know how to add Custom header and footer on flat file.
My question was, My customer Header and footer was Total Count.I am getting this value through Variable. I want to know How I can add with Variable as an example
Total Count:- 00000026 8/27/2014 ****************************************************************** (This should be my header)
Flat file Data...........
............................
Total Count:- 00000026 8/27/2014 ****************************************************************** (This should be my footer)
Thank You.