modified the result file