code: func (c *DbClient) GetDataForFile(path string) []*decoder.FileDataEntry {
  	c.Lock()
  	defer c.Unlock()
  
  	var keyValues []*decoder.FileDataEntry
  	if dbKeyValues, ok := c.db[path]; ok {
  		for key, value := range dbKeyValues {
  			keyValues = append(keyValues, &decoder.FileDataEntry{
  				Key:   key,
  				Value: value.data,
  			})
  		}
  	}
  	return keyValues
  }
docs: // GetDataForFile returns a map of key-value entries from given file