def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def __init__(self,title,richtext,text):
        self.title=title
        self.richtext=richtext
        self.text=text