law firm cost recovery