now it reads text files for startng patterns