check for .txt