public async Task <bool> GetXmlFromFile(ContentURI uri, string filePath, XPathDocument xPathDoc) { bool bHasCompleted = false; xPathDoc = null; if (await FileStorageIO.URIAbsoluteExists(uri, filePath)) { XmlReader reader = await FileStorageIO.GetXmlReaderAsync(uri, filePath); if (reader != null) { using (reader) { xPathDoc = new XPathDocument(reader); } } } bHasCompleted = true; return(bHasCompleted); }