'Process a given file
TODO -- RF:
this is a common logic and must be shared/provided by FileFilter'

def _process_file(self, path):

    if (not self.idle):
        self.getFailures(path)
        try:
            while True:
                ticket = self.failManager.toBan()
                self.jail.putFailTicket(ticket)
        except FailManagerEmpty:
            self.failManager.cleanup(MyTime.time())
        self.__modified = False
