[BP]: refactor out the PathUtils URL stuff into a class like java.net.URL, so you only parse once can't use URL class as is because it won't recognise our protocols, though perhaps we could attempt to register handlers for scp, etc?