<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def print_errors(self, file_name):
 """ Prints the errors observed for a file """

        for error in self.get_messages(file_name):
            print('\t', error.__unicode__())