Added class, input file passed through argument, and outputs to file