The municipal authorities may require sidewalks, boardwalks and curbstone to be laid, set and kept in repair, and after notice to the owner or owners of property to lay, set or repair such walks or stone in front of his, her or their property, and his, her or their failure to do so, the said municipal authorities may do the necessary work and assess the cost thereof upon the property of said owner or owners in front or along which said walk or curbstone so laid, set or repaired, shall be situate, and file a lien therefor or collect the same by action of assumpsit.
53 P.S. § 1891