Generator can now output to file. Added a -o option to the clt.