added move to Trash and deletion of directories