Matt,

I'm not understanding what you posted here. It looks like you are pulling off the top 5,000 entrys each time. Meaning the same 5,000 would be copyed to files 1,2,3.

MDA