def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def items(self):
        for key, value in self._collection.items():
            yield key, self._to_python(value)