Naive implementation to ignore dotfiles when scanning.