updated XMLParser and XMLFileParser in final project