def __init__(self, parent=None, id=-1, 
                 main_frame=None,
                 xml_file="infil_richards_1D.xml"):

        #-----------------------
        # Try to find XML file
        #-----------------------
        files = glob.glob(xml_file)
        if (len(files) == 0):
            msg = "Can't find the XML file:\n\n"
            msg += (xml_file + "\n")
            dialog = wx.MessageBox(msg, caption='SORRY,')
            return