A person shall not have such right of action for materials furnished, unless, before beginning to furnish them, he files in the office of the clerk of the city or town where any of the materials are to be furnished a written notice of his intention to claim such right, in the manner provided for filing the statement named in the following section, and pays to said clerk the fee provided by clause (59) of section thirty-four of chapter two hundred and sixty-two.
Mass. Gen. Laws ch. 159, § 98