Legislation was introduced on Tuesday that would hold tech companies more responsible for an explosion in online child sexual abuse material and give law enforcement agencies more opportunity to gather evidence of crimes.

The bill, proposed by a bipartisan group of lawmakers in the House and Senate, would require companies to retain information about illegal photos and videos found on their platforms for a longer period of time. Its sponsors said the bill was in response to a New York Times investigation, part of a continuing series, revealing that cases often went cold after businesses deleted the data.

Under the current law, tech companies are required to report the imagery to a federally designated clearinghouse and retain related information for 90 days. The bill would double that period and let companies hold on to the material even longer, provided it’s for the purpose of combating further harm. Explicit photos and videos of minors, often referred to as “child pornography,” are illegal to possess and must be reported to the authorities immediately.

Representative Anthony Gonzalez, an Ohio Republican who sponsored the bill, said it aimed to give chronically under-resourced investigators more time to gather evidence.