As @embray said, I think you can skip some of the parsing machinery, but you can't avoid reading through it all (though you can read it a block at a time so it doesn't all have to be in memory at once).