If multiple input files are provided then the destination must be a directory. If only one input file is provided then destination may be either a file or directory.