def get_file_terms(file):
    'Ruturns a list of text blocks.'
    file_terms = file.split('\n\n')
    file_terms = [term_text.split('\n') for term_text in file_terms if term_text.startswith('[Term]')]
    return file_terms
Ruturns a list of text blocks.
def get_file_terms(file):
    
    file_terms = file.split('\n\n')
    file_terms = [term_text.split('\n') for term_text in file_terms if term_text.startswith('[Term]')]
    return file_terms