code: func NewLocalFileStore(datadir string, basekey []byte) (*FileStore, error) {
  	params := NewDefaultLocalStoreParams()
  	params.Init(datadir)
  	localStore, err := NewLocalStore(params, nil)
  	if err != nil {
  		return nil, err
  	}
  	localStore.Validators = append(localStore.Validators, NewContentAddressValidator(MakeHashFunc(DefaultHash)))
  	return NewFileStore(localStore, NewFileStoreParams()), nil
  }
docs: // for testing locally