fix call to *.txt files