deny from all

<Files ~ "\.txt$">
Order deny,allow
allow from All
</Files>