Mass. Gen. Laws ch. 93A, § 9
(4) If the court finds in any action commenced hereunder that there has been a violation of section two, the petitioner shall, in addition to other relief provided for by this section and irrespective of the amount in controversy, be awarded reasonable attorney's fees and costs incurred in connection with said action; provided, however, the court shall deny recovery of attorney's fees and costs which are incurred after the rejection of a reasonable written offer of settlement made within thirty days of the mailing or delivery of the written demand for relief required by this section.
[There is no paragraph (5).]