What do you wish to do with the information afterwards? In other words, do you need to store all the information in memory? My guess is probably not, in which case you may wish to parse the files...