Take the input file as an optional argument.