private bool IsDuplicateInXml(string item) { return FilesList.Contains(item); // FilesList is the latest copy of what XML has. } #endregion