Folder::delete use before et after delete