A California man has filed a lawsuit in federal court against infidelity website Ashley Madison and its parent company, claiming the company failed to properly protect clients' personal and financial information from theft. The man wants compensation for his emotional distress, reports Reuters.

The lawsuit, seeking class-action status, was filed Monday in the Los Angeles U.S. District Court by a man identified as John Doe.

In court documents, the plaintiff accuses Ashley Madison and Toronto-based parent company Avid Life Media Inc. of negligence, invasion of privacy and emotional distress.

Hackers would not have been able to infiltrate the site and access the sensitive data if the company had taken "necessary and reasonable precautions to protect its users' information, by, for example, encrypting the data," according to the lawsuit.

The case, filed in the Central District of California as No. 15-cv-06405, seeks unspecified damages, according to Reuters.

It is the second lawsuit against the company since the data breach last month. The Toronto Star previously reported that Avid Life Media faces a Canadian class-action lawsuit filed last week seeking $760 million in damages.

The lawsuits come after hackers, known as the Impact Team, stole sensitive information from the Ashley Madison website in July. The hackers downloaded personal, financial and identifying information of the site's some 37 million users.

The hacker group threatened to release the data if the site was not shut down.

In August, when the site had not been shut down, the Impact Team dumped Ashley Madison user information online, including the personal details, email addresses, phone numbers and credit card information belonging to U.S. government officials, high-level executives at corporations in Europe and the U.S., and U.K. civil servants.

Police in Toronto announced on Monday that two suicides they were investigating could be linked to the Ashley Madison data dump.

"As of this morning we have two unconfirmed reports of suicides that are associated because of the leak of Ashley Madison customers' profiles," Toronto police service staff superintendent Bryce Evans said.