<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list(self, filterfn=lambda x: True):
 """Return all direct descendands of directory `self` for which `filterfn` returns True. """

        return [self / p for p in self.listdir() if filterfn(self / p)]