It looks like there has been some modification regarding File implementation in the tip
which leads to some issues on OSX.
If I initialize a File with the path “/”, which is the root folder on OSX, the last “/” character is truncated so the path become an empty string
which leads to the file to return false to the exists function.
maybe trimCharactersAtEnd should only append if the path is not “/” ?