def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def __init__(self, addr):
        self.addr = addr
        self.ip_addr = ip_address(text_type(self.addr))