Added ignoreExtensions option