More command line argument parsing. It's now possible to set the output file name.