Kraft Foods Inc. will pay $8.1 million to settle a class-action lawsuit over pollution at a former factory in Attica, Ind., according to the Associated Press. The lawsuit, filed in 2009 and representing nearly 130 families, claimed pollution from a former Kraft factory contaminated the groundwater beneath their homes and spread cancer-causing vapors. A U.S. District Court judge in Indianapolis approved the settlement Friday. In addition to the payment to the families, Kraft is required to clean up the plant site and groundwater and install mitigation systems in the affected homes. The cost of that effort was not disclosed. While the company said it did not contribute to the conditions, it is committed to the cleanup. The company said it is working closely with local, state and federal organizations to clean up the site. Kraft has said it did not own the plant when the chemicals were being used.