Chris, FYI, I added test-cases for and then fixed two bugs here: - when a file doesn't exist, unixPath, and hence elements(unixPath) are null - the unixPath was not NUL terminated and re-enabled the code. If it turns out that NULL-pointer exceptions are still being thrown here then we'll need to track down and fix their root cause. Andrew