code: func NewMeter(cfg *config.Configuration) *Meter {
  	m := &Meter{
  		fileIndex:      make(map[string]int64),
  		fileIndexMutex: &sync.Mutex{},
  		updates:        make(chan *tasklog.Update),
  		cfg:            cfg,
  	}
  
  	return m
  }
docs: // NewMeter creates a new Meter.