removed support for named tmp_file