The firm is shutting 10 branches across Scotland.