The explosion happened at an explosives factory