docs: static Inventory read(File catalog) throws IOException {
  		try (ObjectInputStream ois = new ObjectInputStream(new FileInputStream(catalog))) {
  			return (Inventory)ois.readObject();
  		} catch (IOException | ClassNotFoundException e) {
  			throw new IOException("Failed to read/update file: " + catalog, e);
  		}
  	}