A fire that tore through a large farm building in Suffolk has been brought under control.