Added recursive getElement method to XMLFile Class