Connecticut Attorney General George Jepsen and Florida’s attorney general have filed suit against a Greenwich law firm accused of masterminding a scam aimed at mortgage holders.

Jepsen and others say that Greenwich’s Resolution Law Group and its principal, Robert Geoffrey Broderick, collected nearly $5 million in fees from struggling borrowers who were charged upfront fees in order to join a “mass-joinder” lawsuit against their lenders. Borrowers typically were charged $6,000 up front, and some were asked to make additional payments of $500 per month, alleges the complaint, filed in U.S. District Court in Florida.