The occupant or tenant of every dwelling and of each apartment in a two-family dwelling, or the lessee or conductor of every rooming-house, and the conductor of every tenement-house, shall keep the same and every part thereof, and the yards, courts, shafts exclusively belonging thereto, free from all accumulations of dirt, filth, garbage, or other refuse matter. The owner of such building, when notified by the chief of the division, shall see that every part thereof, and all cellars, halls, passages, walls, areas, yards, courts, and spaces appurtenant thereto, are kept free from all accumulations of dirt, filth, garbage, or other refuse matter. Any person who shall cause or permit any filth, refuse, or perishable matter to be cast into a shaft, court, or area or yard, in or about such building, or shall commit any other nuisance in or about such building, shall be subject to the penalty hereinafter provided for violations of this act.
53 P.S. § 15021