emplate options are mandatory. If -D is specified, input files are read from the directory instead of the command line arguments.