Firefighters worked to keep the fire from spreading to other buildings in the densely populated neighborhood.