I don't think you can resolve a remote path by calling File.getAbsolutePath().