'Check the grammar of the specified file
Parameters
file_name: name of the file to be checked'

def check_grammar(self, file_name):

    file_content = html2text.html2text(open(file_name).read())
    file_content = re.sub(u'[\x00-\x08\x0b-\x0c\x0e-\x1f]+', u'', file_content)
    self.__grammar_check_res = self.__grammar_checker.check(file_content)
