Upon written request of the governing body of any municipality located within the county, the fire marshal or a deputy fire marshal shall have the power to examine the dwelling houses and any other buildings and structures in the county for the purpose of ascertaining whether, by reason of age or dilapidated condition or accumulation of waste, rubbish, debris, explosive or inflammable substance, or existence of any other fire hazard, such buildings or structures are especially liable to fire, and upon finding any of them defective or dangerous, said marshal shall direct the owner or occupants, either by printed or written notice, to alter, remove or amend the same, in such manner or within such reasonable time as they may deem necessary, and in case of neglect or refusal to do so, the party offending shall forfeit and pay, upon conviction thereof before any justice of the peace, alderman or police magistrate of the county, any sum not exceeding twenty-five dollars ($25), for the use of the county, to be collected as fines and forfeitures are collected by law.
16 P.S. § 6108