remove duplicate out_file var