Builds on #1, adds a ignoredExtensions flag