thresh_at will now create file