Command line tool to process huge XML file