public static void RemoveFile(this Collection col, string name) { var f = col.GetFile(name); f.Delete(); }