Remove reference to temp_file