Added Thread pool
Creating files in parallel way