allow temp_file to save results after each response