Added simple output file writing

Now will output the result to a file under Output Files