<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def line_tokenizer(self, text):
 """ From a .txt file, outputs lines as string in list. input: 21. u2-wa-a-ru at-ta e2-kal2-la-ka _e2_-ka wu-e-er output:['21. u2-wa-a-ru at-ta e2-kal2-la-ka _e2_-ka wu-e-er', :param: .txt file containing untokenized string :return: lines as strings in list """

        line_output = []

        with open(text, mode='r+', encoding='utf8') as file:
            lines = file.readlines()
            assert isinstance(text, str), 'Incoming argument must be a string.'
        for line in lines:
            # Strip out damage characters
            if not self.damage:  # Add 'xn' -- missing sign or number?
                line = ''.join(c for c in line if c not in "#[]?!*")
                re.match(r'^\d*\.|\d\'\.', line)
                line_output.append(line.rstrip())
        return line_output