Lawyer for a section of petitioners before the Calcutta High Court on Thursday alleged that they were attacked by goons when they were going to file nomination papers for the ensuing panchayat elections in West Bengal under police escort in South 24 Parganas district.