Added Thread pool
Creating files in parallel way
Added termination of Threads after all jobs were completed
Added time printing to job
Removed dead code