> For the example, change getPath to > toURI so you get a URI rather than a String and it should work. Hello, this is exactly how I've worked this around. But shouldn't behaviour be the same on all platforms at least when accessing files on a local drive? Regards, Sergey Tsypanov