Firefighters continued to work on the building hours after the blaze.