Lawyer Loan

Is it necessary to hire a lawyer when doing a loan modification?
Even if you are close to foreclosure, and the bank has sent your file to a law firm? Do those companies that charge a fee upfront work? Are they successful in modifying a loan?
They do that every single day, so they know exactly what are doing, I have listed a resource where you can find some reputable ones.