code: function createFileUsingSpec (src, spec, dest) {
    const base = spec.base
    const destForObj = spec.dest ? path.join(dest, spec.dest) : dest
    const resolved = path.relative(base, src)
    const destForFile = path.join(destForObj, resolved)
    const watch = spec.watch === undefined ? true : spec.watch
    return new FileInfo({
      src: src,
      resolved: resolved,
      base: base,
      dest: destForFile,
      destBase: dest,
      watch: watch
    })
  }
docs: /* Converts a filename (and spec) to an object with relevant details copied over from the spec