docs: private static File getCanonicalFile(final File file) throws PrivilegedActionException {
          return AccessController.doPrivileged(new PrivilegedExceptionAction<File>() {
  
              @Override
              public File run() throws Exception {
                  return file.getCanonicalFile();
              }
          });
      }