To share a file, users can do the following: Users can share files from OneDrive, from teams and sites they have access to, and from their computer. Additionally, you can also set permissions for files stored in SharePoint or OneDrive while composing a private chat or starting a channel conversation. You can now create a shareable link for any file stored in Teams and directly set the appropriate permissions.
Microsoft is streamline sharing within Microsoft Teams.