[components/FileProducer] Better looping in case of multiple FileProducers in one simulation