xml file search method added