docs: def new_log_file(logger, suffix, file_type='tcl'):
      """ Create new logger and log file from existing logger.
  
      The new logger will be create in the same directory as the existing logger file and will be named
      as the existing log file with the requested suffix.
  
      :param logger: existing logger
      :param suffix: string to add to the existing log file name to create the new log file name.
      :param file_type: logger file type (tcl. txt. etc.)
      :return: the newly created logger
      """
  
      file_handler = None
      for handler in logger.handlers:
          if isinstance(handler, logging.FileHandler):
              file_handler = handler
      new_logger = logging.getLogger(file_type + suffix)
      if file_handler:
          logger_file_name = path.splitext(file_handler.baseFilename)[0]
          tcl_logger_file_name = logger_file_name + '-' + suffix + '.' + file_type
          new_logger.addHandler(logging.FileHandler(tcl_logger_file_name, 'w'))
          new_logger.setLevel(logger.getEffectiveLevel())
  
      return new_logger