code: def init_fileoutput (self, args):
          
          super(TextLogger, self).init_fileoutput(args)
          if self.fd is not None:
              self.fd = ansicolor.Colorizer(self.fd)
docs: Colorize file output if possible.