where should I save bp-custom.php

Hello I need to make some changes to a bp-custom.php file but I will need to create one from scratch and save it in the right place. Could you tell me the right directory to save it to please.

Many thanks

Cath