def listdir(self):
        ls = os.listdir(self.folder)
        if self.file_pattern:
            return [x for x in ls if fnmatch.fnmatch(x, self.file_pattern)]
        else:
            return ls
Save any outstanding items. This returns a Deferred which will
dataset/ETHPy150Open harryliu/edwin/edwinAgent/site_packages/logwatch_glob.py/LogWatcher.listdir--crossover with--dataset/ETHPy150Open meejah/txtorcon/txtorcon/torconfig.py/TorConfig.save