What will happen to this file/folder in a groupfolder?

Groupfolder ‘Classes’, members of group “team” see the folder.
User A (a member of group ‘team’) creates files and folders in “Classes”

What happens to those files User A created when she is no longer member of group “team”?

We need to keep the work, and also the User, just not in group team anymore…