func (v *FileCollectionView) RemoveFile(name string) error {
	if _, ok := v.members[name]; !ok {
		return errors.New("file not found in view")
	}
	delete(v.members, name)
	v.col.RemoveFile(name)
	return nil
}
// RemoveFile removes the named attachment from the collection.
RemoveFile removes the named attachment from the collection.
// RemoveFile removes the named attachment from the collection .
func (v *FileCollectionView) RemoveFile(name string) error {
	if _, ok := v.members[name]; !ok {
		return errors.New("file not found in view")
	}
	delete(v.members, name)
	v.col.RemoveFile(name)
	return nil
}
func ( v * FileCollectionView ) RemoveFile ( name string ) error { if _ , ok := v . members [ name ] ; ! ok { return errors . New ( " " ) } delete ( v . members , name ) v . col . RemoveFile ( name ) return nil }
RemoveFile removes the named attachment from the collection.
RemoveFile removes the named attachment from the collection .