DETROIT: Volkswagen deleted documents and obstructed justice after the US Environmental Protection accused the company of cheating on emissions tests, a former employee alleged in a lawsuit.

Daniel Donovan says in a whistleblower case that he was wrongfully fired Dec. 6, 2015 after refusing to participate in the deletions and reporting them to a supervisor.

The lawsuit says that the evidence deletion continued for three days after the Sept. 18 allegations from the EPA and despite a hold order from the Justice Department.

VW has admitted that it programmed about 600,000 diesel-powered cars in the US to turn on pollution controls during EPA treadmill tests and turn them off when the cars were on the road.

The agency alleges that the cars emit as much as 40 times the allowable amount of nitrogen oxide, which can cause respiratory problems.

The Justice Department is investigating potential criminal charges against VW, and the company has been negotiating with the EPA and California regulators to come up with repairs. VW faces a March 24 deadline from a federal judge to reach agreement on the fixes.

Donovan worked as a technology employee with VW's general counsel office who was responsible for electronic information management in injury and product liability cases.

The lawsuit said he was fired "because of his refusal to participate in a course of action that would spoilate evidence and obstruct justice" in the EPA and Justice Department probes.

But VW said Monday that Donovan's departure from the company was not related to the diesel emissions issue. "We believe his claim of wrongful termination is without merit," the company said Monday in a statement.

Donovan, who worked in VW's Michigan offices, alleges that the company's information technology department did not stop deleting items until Sept. 21, so Donovan reported his concerns to his supervisor, according to the March 8 lawsuit filed with the Oakland County Circuit Court in Pontiac, Michigan. It also says the department was not preserving backup disks.

Donovan was fired because VW of America believed he was about to report the deletions and obstruction of justice to the EPA, Justice Department or the FBI, according to the complaint.

It was unclear whether Donovan, of suburban Detroit, spoke with federal investigators. His attorney, Sam Morgan, would not comment and said his client didn't want to speak about it either. A message was left for the US Attorney's Office in Detroit.

The lawsuit alleges that the company violated the Michigan Whistleblowers' protection act.

VW potentially faces more than $20 billion in US fines, as well as hundreds of class-action lawsuits from angry vehicle owners. Diesels account for about 25 percent of the company's US sales.

The scandal already has cost the CEO his job, and last week, VW ousted Michael Horn, its top US executive.