Now correctly handles dotfiles