docs: def _check_raw(self, file_names, abort_on_missing=False):
          """Get the file-ids for the res_files."""
  
          strip_file_names = True
          check_on = self.filestatuschecker
          if not self._is_listtype(file_names):
              file_names = [file_names, ]
  
          ids = dict()
          for f in file_names:
              self.logger.debug(f"checking res file {f}")
              fid = FileID(f)
              # self.logger.debug(fid)
              if fid.name is None:
                  warnings.warn(f"file does not exist: {f}")
                  if abort_on_missing:
                      sys.exit(-1)
              else:
                  if strip_file_names:
                      name = os.path.basename(f)
                  else:
                      name = f
                  if check_on == "size":
                      ids[name] = int(fid.size)
                  elif check_on == "modified":
                      ids[name] = int(fid.last_modified)
                  else:
                      ids[name] = int(fid.last_accessed)
          return ids