Files wrote every 2 min thanks to a third thread