def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def __setitem__(self, key, value):
        self._collection[key] = self._from_python(key, value)