> Which is one reason I think why my solution is better. Just consider the code is already there. Although the change is minor, I think it's still easier to implement the echo trick or the mock open() in this case. Thomas.