Text Reader: read multiple files serially?

Hi there

I'm a bit stuck.

I've a got a file that lists the URI (or paths) of a bunch of other files(one per line).

Ex.

/location/file1.html

/location/file2.html

I have to read each of these files and substitue a string (call it X) by another string (call it Y).

I've got a pipeline which is

Delimited File Reader (@current_file contains a filename)  -----> Text Reader (reads individual file) ------> Custom Manipulator (RSubst) ----->Text Writer

But the process does not go beyond Text Reader. I was expecting Text Reader to keep reading the files one after the other and passing the contents along.

I tried making the last 3 a sub-protocol and making it Run-to-Completion. but that doesn't work either.

The problem is to have the Text Reader component work in the middle of a pipeline, where the component before it feeds in the filenames to read and the component after it does some processing.

Any ideas ??

Any help would be great. Thanks