add excludePattern argument to avoid import of specific files; closes #8