He may in his own name and official capacity prosecute actions upon bonds, notes or other securities given to him or to his predecessors in office; and unless otherwise provided, he or the chief or superintendent of police or other police officer of the town may prosecute for trespasses committed in or on any public building or enclosure belonging to or within the town. If a public building or enclosure is owned in part by the town and in part by the county, such prosecution may be instituted by the treasurer of either the town or the county.
Mass. Gen. Laws ch. 41, § 36