All costs and expenses incurred by the Town of Webster in connection with any work done to remove the danger or in connection with the demolition and removal of any such building or structure shall be assessed against the land on which such building or structure is located, and a bill for such expenses shall be presented to the owner of the property, or, if the owner cannot be ascertained, then such bill shall be posted in a conspicuous place on the premises. Such assessment shall be and constitute a lien upon such land. If the owner shall fail to pay for such expenses within 10 days after the bill is presented or posted, a legal action may be brought to collect such assessment or to foreclose such lien. As an alternative to the maintenance of any such action, the Fire Marshal of the Town of Webster may file a certificate of the actual expenses incurred as aforesaid, together with a statement identifying the property in connection with which the expenses were incurred and the owner thereof, with the Assessor, who shall, in preparation of the next assessment roll, assess such amount upon such property. Such amount shall be included in the levy against such property, shall constitute a lien and shall be collected and enforced in the same manner, by the same proceedings, at the same time and under the same penalties as provided by law for the collection and enforcement of real property taxes in the Town of Webster.