Talentica interview question

Write a program to search number of common strings from a file using threading.