Thinking about it, How about put ANOTHER item in your pipe, that checks the existance of a file (so you can 'touch file' or 'rm file' to turn on or off the redirection), and check for the files existance on a line at a time basis. ... Just a thought. ... JC