Law firms cash in on investment