Major fire broke in factory