def buildOutputList(sourceList, outputList, headlineString):
    """Basically just a function to create a nice headline before each chunk of
    kerning data."""
    if sourceList:
        headline = headlineString
        decoration = '-' * len(headline)
        outputList.append('# ' + headline)
        outputList.append('# ' + decoration)
        for item in sourceList:
            outputList.append(item)
        outputList.append('')
