Implemented the deletion of folders