i think @opdenkamp mean a `Delete(CFileItem *item)` method and do the check inside so you could reuse it.