MONROE, Mich. (WWJ/AP) – Federal agents say a former substitute teacher from Monroe — charged with having a vast collection of child pornography — has admitted to sexually assaulting two girls.

David Huntley, 52, returned Wednesday afternoon to federal court in Detroit where he waived a bond hearing, agreeing to remain behind bars while his case moves through court.

READ MORE: Man Recovers From Injuries In Non-Fatal Shooting, Detroit Police Continue Searching For Suspect

In a court filing, Homeland Security agent Lisa Keith said Huntley confessed in a “consensual interview” last week that he possessed child porn. She said Huntley also disclosed that he assaulted two girls.

A 10-page criminal complaint against David Huntley of Monroe says Huntley has admitted to abusing kids as well as having and distributing the child pornography.

The complaint alleges Huntley said he had about a terabyte of child pornographic photos and videos — mostly of little girls  — and that he’d been viewing child porn since around 1990 “for stress relief and self-gratification.”

One alleged victim was a 12-year-old cousin who, according to the complaint, Huntley admitted he drugged before sexually assaulting her while she was unconscious. He also allegedly confessed he molested a 10-year-old girl in a hot tub.

READ MORE: Michigan, Consumers Energy Pledge To Power More Than 1,200 Government Buildings With Clean Energy

[>VIEW THE COMPLAINT **Please note: Some content is graphic and may be disturbing**]

Huntley’s case was moved to federal court this week, days after he was arrested and charged in Monroe County with possessing and distributing child porn following an investigation of a file sharing website. Assistant prosecutor Michael Roehrig said there may be hundreds of thousands of images.

Given his previous employment as a teacher, authorities are concerned that Huntley may have had inappropriate relations with more children.

Michigan State Police are asking anyone who may have had contact with Huntley contact them so they can investigate any possible additional wrongdoing.

MORE NEWS: Firefighter From Michigan Battling Wildfire In Oregon Dies After Being Struck By Tree, Officials Say

TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.