code: function replaceProperties (lines, properties) {
    var filteredLines = [];
    lines.forEach((line) => {
      for (var prop in properties) {
        line = expandReference(line, prop, properties[prop]);
      }
      filteredLines.push(line);
    });
    return filteredLines;
  }
docs: Given a list of lines from a file, we go through each line and replace properties that
  are provided with the associated value.
  
  NOTE: This does not process properties if they are not in the properties parameter.
  
  @param {!Array<string>} lines are processed one at a time
  @param {!Object} properties are replaced
  @returns {!Array<string>} original lines with properties replaced