A fire broke out in a block of flats