<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_text_file(self, filename, encoding="utf-8", tokenizer=None):
 """ Load in a text file from which to generate a word frequency list Args: filename (str):
 The filepath to the text file to be loaded encoding (str):
 The encoding of the text file tokenizer (function):
 The function to use to tokenize a string """

        with load_file(filename, encoding=encoding) as data:
            self.load_text(data, tokenizer)