Oh! Yes! Of course!
The replace should be applied for `path`:
````groovy
it.path.replaceAll('\\\\', '\\/').endsWith(schemas.get(key))
````
The `schema` is always with `/` and only Windows has `\` in file path.