The burning building is part of a character's storyline.
Roxy's to be specific, when you reach a certain point with her you will be led to the burning building.
Then, after saving Samantha you should check the first floor again.
If you check first before saving Samantha nothing significant will happen.