def _run_cycle(self):
        # validate path
        if not os.path.exists(self.path):
            raise exception.PathNotFoundException(self.path)

        queue_of_valid_files = queue.Queue()

        threads = [FileReaderBase.FileScannerThread(self, queue_of_valid_files, self.path)]
        threads[-1].daemon = True
        threads[-1].start()
        #self.clear_screen() hides any error message produced before it!
        self.clear_screen()
        nextFile = queue_of_valid_files.get()
        while nextFile:
            with open(nextFile, 'r') as f:
                file_data = f.read()
                self.typing_print(file_data)
            if self.cleanup_per_file:
                self.clear_screen()
            queue_of_valid_files.put(nextFile)
            nextFile = queue_of_valid_files.get()
Executes a "cycle" of this screen.
dataset/ETHPy150Open brunobraga/termsaver/termsaverlib/screen/base/filereader.py/FileReaderBase._run_cycle