maybe `var paths = utils.isArray(file.path) && file.path.length > 1 ? file.path : [file.path];`