A federal judge in Philadelphia ruled Monday that attorneys for seven women suing Bill Cosby for defamation can see much of the case file of a lawyer for the accuser in a 2005 sexual assault lawsuit against the comedian.

FILE - In this Nov. 6, 2013 file photo, comedian Bill Cosby performs at the Stand Up for Heroes event at Madison Square Garden, in New York. (John Minchillo/Invision/AP, File)

Judge Anita Brody denied a request from Cosby to block a subpoena seeking the file of former Temple University employee Andrea Constand's lawyer, Dolores Troiani.

Constand reached a confidential settlement with Cosby in the civil case. Late last year, Pennsylvania prosecutors charged Cosby criminally in the alleged assault on Constand. Cosby has pleaded not guilty.

Brody ruled the confidential agreement between Cosby and Constand "cannot block the disclosure of those materials to third parties" in a separate lawsuit.

"Even if Plaintiffs were required to produce a compelling justification for disclosure, one readily exists. The public reaps no benefit by allowing settlement agreements to suppress evidence," the judge wrote in her ruling.

The judge said she is not ruling on whether a jury in the Massachusetts defamation case will get to see the material, only on whether the lawyer for the women in the defamation suit can have access to it.

The seven women suing Cosby for defamation allege that he tainted their reputations by allowing his representatives to brand them as liars after they went public with claims that he sexually assaulted them decades ago.

Joseph Cammarata, a lawyer for the women, sought the Constand file to try to obtain evidence to bolster the women's claims.

"We look forward to the opportunity to obtain Mrs. Troiani's file materials. We expect that they'll be a treasure trove of significant information," Cammarata said Monday.

Cosby has countersued the women, alleging they have damaged his "honorable legacy and reputation" by falsely accusing him of sexual misconduct. His lawyers did not immediately respond to a request for comment.

The women named in the defamation suit are among about 50 who have come forward to claim that Cosby sexually abused them decades ago. He has denied the allegations.

Brody did grant Cosby's request to block access to the confidential settlement agreement.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)


Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.