code: func (lz *Lz4) CheckExt(filename string) error {
  	if filepath.Ext(filename) != ".lz4" {
  		return fmt.Errorf("filename must have a .lz4 extension")
  	}
  	return nil
  }
docs: // CheckExt ensures the file extension matches the format.