cleanup the out file