Added functionality, that calculate words in file using threadpool and manualresenevent