Made SAX parser parse in chunks to preserve RAM.