A former high school teacher accused of sexually assaulting a suicidal teen wants a judge to keep photos of text messages out of her upcoming trial, court documents show.

Jill Lamontagne, 29, of Kennebunk, Maine, filed a motion through her attorney in York County Superior Court asking that the photos be excluded on the basis of the “ease at which the identity of a text message sender can be manipulated; and the simplicity of deleting portions of a text message,” the Bangor Daily News reports.

The motion also questioned the timing of when the photos were delivered to police in Kennebunk. Lamontagne’s attorney, Scott Gardner, claims that didn’t happen until weeks later and were taken by the male victim’s mother, he said.

The text messages also aren’t the “original writings,” according to Gardner’s motion, and should be kept out of the trial of the former health teacher at Kennebunk High School accused of having an ongoing sexual relationship with a 17-year-old student who was hospitalized following a suicide attempt over the alleged illicit trysts.

Lamontagne — who pleaded not guilty to 14 charges in December, including six counts of gross sexual assault – is accused of engaging in sex acts on several occasions with the teen “in the classroom, in her car and at her house,” according to court documents.

Gardner has said previously that Lamontagne “categorically” denies the charges, saying she’s traumatized by the accusations and wants to prove her innocence, the Biddeford Journal Tribune reports.

“The allegations arise from a high school rumor resulting from the fantasies of a (then) 17-year-old student,” Gardner said.

The student, meanwhile, was admitted to Maine Medical Center in Portland last June after ingesting a mix of medicines, including Tylenol, cold medicine and a blood thinner, in an attempt to commit suicide. The teen also told his mother and a nurse at the hospital that he loved Lamontagne, court documents show.

Lamontagne, who is married, was placed on administrative leave in June and resigned her position in December. Her trial is expected to being in July and she faces up to five years in prison if convicted, according to the Bangor Daily News.