don't ignore .txt files

add printf spec