Added xml_flatify.py