def editor_bot(empty_editor_bot, python_files):
    """
    Set up an EditorStack with an OutlineExplorerWidget and load some files.
    """
    editorstack, outlineexplorer, qtbot = empty_editor_bot
    for file in python_files:
        editorstack.load(file)

    return editorstack, outlineexplorer, qtbot