code: public static Stat stat(File file) throws IOException {
      if (file == null) {
        throw new IllegalArgumentException("Null parameter passed");
      }
      return stat(file.getAbsolutePath());
    }
docs: Wrapper around native stat()