Revert "Added simple output file writing"

This reverts commit 388a46f827e7cf08b944a6585e586b63db986867.