moved file name to command line arg