in reply to email output
Are you sending multiple emails -- is this form data or just a report? I am not quite sure what you mean by I have fileA which has list of all filenames one line at a time. Can you post some more code so we can help?
In Section
Seekers of Perl Wisdom