added the command line interface that reads in the file