Contribution with new method for the ThreadPool
Read all files and create the iterator