The owner of a medical office building in Bridgewater has secured nearly $8 million in permanent financing, in one of two recent closings by Spencer Savings Bank.