$ ls your/path/to/directory/ | grep .txt | grep CHECK