Refactor malicious path checks
Add dotfiles option

closes #49