make sure file closes in full harvest