Added -i for input file and -o for output file.