In Microsoft Teams, everyone in the team can access all channels and files. If you need to create a subset of the team and limit access to who can access the files, a private channel can do that.