STILLWATER — The lawyer for an accused killer claims the victim was storing child pornography on his laptop.

Dennis Pegg, the 68-year-old former Sussex County corrections officer and Boy Scout leader officer who was killed in his Stillwater home in June, had child pornography on his laptop, according to Dan Perez, the attorney for Clark Fredericks, 47, of Fredon.

Fredericks was in Pegg’s Scout troop and claims Pegg molested him in the 1970s.

"According to (the prosecutor’s office), there is child pornography on Dennis Pegg’s laptop computer," Perez wrote to Superior Court Judge N. Peter Conforti on Friday.

Greg Mueller, the first assistant prosecutor for Sussex County, would not say whether the victim’s computer had been searched for pornography. According to the letter, the computer was to be sent out to be analyzed by forensic detectives.

Mueller also declined comment on the letter. He has said he expected a grand jury would convene this month on the case against Fredericks, who is charged with first-degree murder.

Perez asked for a court meeting on the various materials stored on the electronic devices in Pegg’s home at the time he was killed. In the letter to the judge Perez asked to speed up the investigation of electronic devices found in Pegg’s residence, which include the laptop, a desktop computer, an iPad and a flash drive.

Dennis Pegg, 68 in this 2003 file photo.File photo

"I am concerned that with the passage of time, we risk the destruction of records. Almost six months has passed since Dennis Pegg died. Obtaining copies of the hard drives will, I submit, help limit the possibility that important evidence is lost," Perez wrote.

An alleged accomplice, Robert Reynolds, also has been charged in Pegg’s homicide. Reynolds is accused of entering Pegg’s house and driving the getaway van the night of June 12, which was also opening day of the trial of Jerry Sandusky, the former Penn State coach eventually convicted of molesting a number of boys under his tutelage.

Shortly after the arrests, Fredericks’ family says he was molested by Pegg when he was a boy. Fredericks himself told police that Pegg had "been a child molester for years" and got what was coming to him," according to an arrest affidavit filed shortly after Pegg was found stabbed more than 20 times, his throat slashed. Fredericks was arrested the next day.

In October, The Star-Ledger reported on the experiences of another Stillwater Boy Scout, Michael Funari, who gave a detailed account of years of abuse at the hands of Pegg in the late 1970s and early 1980s; and whose allegations at the time never resulted in charges against the Sussex County corrections officer.