updated file to find only txt files