Any employer failing to comply with the provisions of this article may be compelled to do so by a mandamus proceeding and may be liable to a prevailing party for court costs and reasonable attorney's fees to be set by the court.