code: def cat(self, paths, check_crc=False):
          ''' Fetch all files that match the source file pattern
          and display their content on stdout.
  
          :param paths: Paths to display
          :type paths: list of strings
          :param check_crc: Check for checksum errors
          :type check_crc: boolean
          :returns: a generator that yields strings
          '''
          if not isinstance(paths, list):
              raise InvalidInputException("Paths should be a list")
          if not paths:
              raise InvalidInputException("cat: no path given")
  
          processor = lambda path, node, check_crc=check_crc: self._handle_cat(path, node, check_crc)
          for item in self._find_items(paths, processor, include_toplevel=True,
                                       include_children=False, recurse=False):
              if item:
                  yield itef cat(self, paths, check_crc=False):
          ''' Fetch all files that match the source file pattern
          and display their content on stdout.
  
          :param paths: Paths to display
          :type paths: list of strings
          :param check_crc: Check for checksum errors
          :type check_crc: boolean
          :returns: a generator that yields strings
          '''
          if not isinstance(paths, list):
              raise InvalidInputException("Paths should be a list")
          if not paths:
              raise InvalidInputException("cat: no path given")
  
          processor = lambda path, node, check_crc=check_crc: self._handle_cat(path, node, check_crc)
          for item in self._find_items(paths, processor, include_toplevel=True,
                                       include_children=False, recurse=False):
              if item:
                  yield item
docs: Fetch all files that match the source file pattern
          and display their content on stdout.
  
          :param paths: Paths to display
          :type paths: list of strings
          :param check_crc: Check for checksum errors
          :type check_crc: boolean
          :returns: a generator that yields strings