added a case ware only files confirming to a patern will be searched

this is in connection with issue #10,

I have very little experience with go code, what do you think?