Added command line paramters to generate the file