'Create the output file using the
parsed data'

def create_file(self):

    for data_element in self.data:
        title = data_element['title']
        anchor = data_element['href']
        example = data_element['example']
        content = data_element['content']
        if example:
            example = ('<pre><code>%s</code></pre>' % example)
            abstract = '<section    class="prog__container">{}{}</section>'.format(content, example)
        list_of_data = [title, 'A', '', '', '', '', '', '', '', '', '', abstract, anchor]
        self.output_file.write('{}\n'.format(' DCTB '.join(list_of_data)))
