code: public IndexEntry findEntryByFileName(String fileName) {
      for (IndexEntry e: entries) {
        if (fileName.equals(e.fileName)) {
          return e;
        }
      }
      return null;
    }
docs: Finds the index entry corresponding to a file in the archive