The Mossos d'Esquadra have filed criminal charges against three minors for beating another person near a school in Mataró.