Changed xml parser to cElementTree - only uses 3x memory of XML file as opposed to ElementTree's 4x