Richard,

I will admit i didn't fully process his code before making my post. I looked at it enough to see the readline() loop and knew from personal experience that my bit of FSO code would handle a large file a lot better than any readline() solution.

When i first saw the use of a readfile() UDF in Jan's code I was assuming it was this UDF. ReadFile() (by Radimus), but i see now that we have 2 ReadFile() (by Jooel) UDF's in the UDF forum.

Looks like Jan is using Jooel's version.