The Madurai Bench of the Madras High Court on Friday directed the State to file a counter affidavit to a public interest litigation petition that sought a direction to authorities to repair dilapidated buildings in Scheduled Caste habitations.