Error catching around remove_items filesystem objects