Filemanager: implemented delete for files and folders