are you reading the whole file at once, or 1 line at a time?
I would pick up the whole file, and either:
1. split the file into a many messages, 1 for each line, then Xlate each.
or
2. send the whole file to the Xlate, then use CONTINUE to spit out a new message for each line.
I think option 1 will be faster.