A party who files a suit under this chapter that is groundless and brought in bad faith or for purposes of harassment is liable to the defendant for reasonable and necessary attorney’s fees and court costs.