human
Solve the following python programming problem given the following code:
def ExportToFile(self, filename) : 
    '
\t\tfilename = A tab-delimited file (utf-8 encoded, without header) containing docIDs and document contents
\t\t' 
    def WriteFile(rows) : 
        with open (filename, 'w') as f : 
            for row in rows : 
                doc_id = row.doc_id 
                doc_content = self.SanitizeText (row.doc_content.decode ('utf-8')) 
                f.write ('{}\t{}
'.format (doc_id, doc_content).encode ('utf-8', 'ignore')) 
rows = self.db ().select (self.db.corpus.doc_id, WriteFile.db.corpus.doc_content, orderby = self.db.corpus.doc_index) 
    WriteFile (rows) 

    
    

    Fix the buggy line: rows = self.db ().select (self.db.corpus.doc_id, WriteFile.db.corpus.doc_content, orderby = self.db.corpus.doc_index)
assistant
#Here is Python code to fix the buggy line: rows = self.

rows = self.db ().select (self.db.corpus.doc_id, self.db.corpus.doc_content, orderby = self.db.corpus.doc_index)