code: public HashSet<String> getDataById(String id) throws IOException {
      if (idToVersion.containsKey(id)) {
        return get(id);
      } else {
        return null;
      }
    }
docs: Gets the data by id.
  
  @param id the id
  @return the data by id
  @throws IOException Signals that an I/O exception has occurred.