code: def clear_input(self):
          
          for item in listdir(self.input_dir):
              item_path = path.join(self.input_dir, item)
              if path.isfile(item_path):
                  remove(item_path)
                  logger.debug('Removed input %s.' % item_path)
          return
docs: Remove all the input files (at the end of a reading).