in reply to Parsing large files

Is there a different way to go through the files that's less expensive? Thanks!

No. There is only one way to read files, and that is to actually to read them. If this is too slow , buy a faster harddisk.