command line parameter to source and output file