Get top n string from text file.