def addSectionHeader(propertiesFile, headerName='main'):
    """Add fake section header 

    from http://stackoverflow.com/questions/2819696/parsing-properties-file-in-python/2819788#2819788
    use read_file in Python 3.2+
    """
    yield '[{}]\n'.format(headerName)
    for line in propertiesFile:
        yield line
