Parse by path method updated to parse a full xml file.