adding the ability to speficy the output file
adding the ability to specify the filename as a commandline argument