United HealthCare Services Inc. has agreed to expand its coverage of hepatitis C drugs as part of a nationwide class action settlement valued at more than $300 million.

The agreement, filed in Miami federal court Friday, resolves claims that the insurance giant was unlawfully denying some policyholders coverage of a breakthrough hepatitis C cure called Harvoni.