internal void SafeDelete()
{
if (_files != null && _files.Count > 0)
{
string[] fileNames = new string[_files.Count];
_files.Keys.CopyTo(fileNames, 0);
foreach (string fileName in fileNames)
{
if (!KeepFile(fileName))
{
Delete(fileName);
_files.Remove(fileName);
}
}
}
}
}