added functionality to view xml fiels