Added ignoreExtension; Removing Error with warn modified