Added try catch statement around access to local xml file