a little safer about paths and deleting everything