Initial work to parse xml files