After coming under heavy global pressure over the bank secrecy that allows foreigners to hide their assets from the taxman in Switzerland , Berne has agreed to do more to cooperate with other cash-strapped countries hunting tax evaders .