Take a look at Modify file without any temp variable
Thanks Gopal.R
In reply to Re: open file for read/write by gopalr in thread open file for read/write by Anonymous Monk