def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def popitem(self):
        key, value = self._collection.popitem()
        return key, self._to_python(value)