If a town by-law imposes a duty and affixes a penalty for the neglect or violation thereof, it may also provide that upon such neglect or violation the duty may be performed by officers therein named, at the expense of the person liable to perform the same; and such expense, to an amount not exceeding the penalty, may be recovered in contract by the town.
Mass. Gen. Laws ch. 40, § 31
Powers of towns; performance of duty imposed by by-laws
Official source: Massachusetts Legislature. Reproduced from public-domain Massachusetts statutes; confirm against the official source for the current text. Not legal advice.