It may be better for Windows to do `return file.parent.leafName == "locales" && file.leafName.endsWith(".ini");`