added intellij files to gitignore and fixed recursion to not process directories multiple times when using more than one file suffix