code: def openFile(self, openDQ=False):
          
  
          if self._im.closed:
              if not self._dq.closed:
                  self._dq.release()
              assert(self._dq.closed)
              fi = FileExtMaskInfo(clobber=False,
                                   doNotOpenDQ=not openDQ,
                                   im_fmode=self.open_mode)
              fi.image = self.name
              self._im = fi.image
              fi.append_ext(spu.get_ext_list(self._im, extname='SCI'))
              fi.finalize()
              self._im = fi.image
              self._dq = fi.DQimage
              self._imext = fi.fext
              self._dqext = fi.dqext
docs: Open file and set up filehandle for image file