public string GetFileName(string fn) { XmlNode node = xmlDocument.SelectSingleNode("configuration"); node = node.SelectSingleNode("dataFile"); node = node.SelectSingleNode(fn); return node.Attributes[0].Value.ToString(); }