def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def copy(self):
        return ConfigDict(self._collection.copy(), path=self._path, resolver=self._resolver)