Implements item (file or folder) removal.