class_docstr: Container for the extracted archive
      
class_docstr_tok: ["Container","for","the","extracted","archive"]
code: def get_extracted_file(self, afile):
      lgr.debug(
          "Requested file %s from archive %s", afile, self._archive
      )
      # TODO: That could be a good place to provide "compatibility" layer if
      # filenames within archive are too obscure for local file system.
      # We could somehow adjust them while extracting and here channel back
      # "fixed" up names since they are only to point to the load
      self.assure_extracted()
      path = self.get_extracted_filename(afile)
      # TODO: make robust
      lgr.log(2, "Verifying that %s exists", abspath(path))
      assert exists(path), "%s must exist" % path
      return path
  
imports: import hashlib
  import logging
  import os
  import random
  import string
  import tempfile
  from datalad import cfg
  from datalad.config import anything2bool
  from datalad.consts import ARCHIVES_TEMP_DIR
  from datalad.support.external_versions import external_versions
  from datalad.support.locking import lock_if_check_fails
  from datalad.support.path import abspath, exists, isabs, isdir
  from datalad.support.path import join
  from datalad.support.path import normpath, pardir, relpath
  from datalad.support.path import sep
  from datalad.utils import Path, any_re_search, ensure_bytes, ensure_unicode, get_tempfile_kwargs, on_windows, rmtemp, rmtree, unlink
label_desc: Use image node_id 12 for calling the ExtractedArchive obj's underlying member method code with example usage: obj.get_extracted_file(afile) and returns: path