Change association for a file type

This is for macOS on an iMac.
I download torrent files from various websites and want to use application A for this purpose. Application A is associated in the Finder with the torrent extension.
However, every time I click on a file Brave asks if I want to open it with application B. I do not. How do I change Brave to associate application A with torrent files?