changed scanner to use command line arg for fileName