Changed default behavior: destDir will be a subdir of input path if not specified