Revert "Revert "Revert "Revert "result output file""""

This reverts commit 5045ce6148e5657856874302c2a603dd58a0578d.