code: public <T> T read(final Class<T> type, final File file)
  		throws IOException
  	{
  		try (final FileInputStream in = new FileInputStream(file)) {
  			return read(type, in);
  		}
  	}
docs: Reads an object from the given file.
  
  @param <T> the type of the read object
  @param file the file to read from.
  @param type the type of the read object.
  @return the de-serialized object.
  @throws NullPointerException if the input stream {@code in} is {@code null}.
  @throws IOException if the object could not be read.