Revert "output-file"

This reverts commit 4f3215b05a843491986a7fa179bb88e763c304ed.
Revert "Revert "output-file""

This reverts commit 599c671f8f67ff277b25a3114606cc503002ea69.