Refactor filename matching in search
Fixes #79 - Can't search files with $ in the name