code: def addFileHandler(self,filename='', dr='',lvl=1):
          
          fname = self.name
          if filename != '':
              fname = filename
          if '.' not in fname:
              fname+='.log'
          fh = logging.FileHandler(os.path.join(dr,fname))
          fh.setLevel(lvl)
          frmtString = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
          fFrmt = logging.Formatter(frmtString)
          fh.setFormatter(fFrmt)
          self.addHandler(fh)
docs: This function will add a file handler to a log with the provided level.
          
          Args:
              lvl (int): The severity level of messages printed to the file with 
                          the file handler, default = 1.