code: def _ReadLine(self, text_file_object, max_len=None, depth=0):
      
      line = text_file_object.readline(size=max_len)
  
      if not line:
        return ''
  
      if line in self._EMPTY_LINES:
        if depth == self._MAXIMUM_DEPTH:
          return ''
  
        return self._ReadLine(text_file_object, max_len=max_len, depth=depth + 1)
  
      return line.strip()
docs: Reads a line from a text file.
  
      Args:
        text_file_object (dfvfs.TextFile): text file.
        max_len (Optional[int]): maximum number of bytes a single line can take,
            where None means all remaining bytes should be read.
        depth (Optional[int]): number of new lines the parser encountered.
  
      Returns:
        str: single line read from the file-like object, or the maximum number of
            characters, if max_len defined and line longer than the defined size.
  
      Raises:
        UnicodeDecodeError: if the text cannot be decoded using the specified
            encoding.