in reply to Text Files

This question is very poorly stated. I've read it three times and still have no idea what you want. You are using the terms "element" and "header" ambiguously at best.

-sauoq
"My two cents aren't worth a dime.";