I agree with everything Richard said. I will also add...

...or consider using RedirectOutput(), which can write to a file, overwriting its previous contents.
_________________________
================================================
Breaker