Adding a link/button to buddypress menu

Hello,

I need a little help. I want to add a link to the user profile groups sub navigation. I can't find the correct file where this adjustment would be made and I'm worried about editing the wrong file. Thanks.