code: public static Instance readInstance(File f) {
          try (Reader in = makeIn(f)) {
              return readInstance(in);
          } catch (IOException e) {
              throw new IllegalArgumentException(e);
          }
      }
docs: Read an instance from a file.
  A file ending with '.gz' is uncompressed first
  
  @param f the file to parse
  @return the resulting instance
  @throws IllegalArgumentException if an error occurred while reading the file