<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def exclude(self, pattern):
 """Exclude files that match 'pattern'."""

        match = translate_pattern(pattern)
        return self._remove_files(match.match)