corrected bug in txt files