Added `-in` option to change input file directory.