The bank to be acquired has over 20 locations in Massachusetts, including five in the Worcester area.