def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def select_all(self, event=None):
        self.selection_range(0, END)
        return "break"