A federal regulator sued JPMorgan Chase, Wells Fargo and Bank of America on Friday.