Create result_file

outputs the result