<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _filter(self, filename):
 """ return 'true' if filename doesn't match name_filter regex and should be filtered out of the list. @param filename: @return: """

        return self.name_filter is not None and re.search(self.name_filter, filename) is None