docs: public static <T> T readObjectFromFile(File file) throws IOException,
    ClassNotFoundException {
      ObjectInputStream ois = new ObjectInputStream(new BufferedInputStream(
          new GZIPInputStream(new FileInputStream(file))));
      Object o = ois.readObject();
      ois.close();
      return ErasureUtils.<T> uncheckedCast(o);
    }