def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def serialize(self):
        s = []
        for v in self:
            if isinstance(v, BaseConfig):
                v = v.serialize()
            s.append(v)
        return s