code: function flatten(files) {
          var ret = [];
          for (var i=0; i < files.length; i++) {
              ret.push(files[i].dst);
          }
          return ret;
      }
docs: Collect destination files from file spec list.