def _load_textile(sTextilePath):
    """Load lines from the textile file."""
    fTextile = open(sTextilePath, 'rb')
    aLines = []
    aCurLine = []
    for sLine in fTextile.readlines():
        if sLine.endswith('\\\n'):
            if aCurLine:
                aCurLine.append(sLine[:-2])
            else:
                aCurLine = [sLine[:-2]]
            continue
        elif aCurLine:
            aCurLine.append(sLine)
            aLines.append(''.join(aCurLine))
            aCurLine = []
        else:
            aLines.append(sLine)
    fTextile.close()
    return aLines
