def __init__(self, files): s = Stream() self.log_stream = s.stream log = Log() log.outputs = [s] ContainerBase.__init__(self, log=log) self.mime_map = {k:self.guess_type(k) for k in files} self.files = files