Add flag to enable getFilesInDir to get hidden files (dotfiles).