Refactors ignoredFileExtensions regex