split -k command line arguments on comma
handle input/output file