Added in functionality to output a text file (issue #3) 

** It does remove the ability to view the output from within Eclipse though. Not sure if this will be desired.