I played with this - this is an interesting problem. Maybe you can try this regex to ignore files?
Edit: talked to my colleague. Here's the correct regular expression (my original matches the "txt" at the beginning of the file name too).
^(?!.*\.txt$).*
zachwill
source share