def LoadSourceCode(sourceFiles):
    """Return a dictionary with file paths (key) and contents (value)."""
    assert isinstance(sourceFiles, list)
    sourceCodes = {}
    for sourceFilePath in sourceFiles:
        with open(sourceFilePath) as f:
            sourceCodes[sourceFilePath] = f.read()
    return sourceCodes