framework: write results 2 file