Massive fire rips through downtown building