Added output file command line argument