<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _delegate(self, path):
 # type: (Text) -> Optional[FS] """Get a filesystem which has a given path. """

        for _name, fs in self.iterate_fs():
            if fs.exists(path):
                return fs
        return None