def METHOD_NAME(self, all_files: Iterable[RemoteFile], logger: logging.Logger) -> Iterable[RemoteFile]:
    if self._is_history_full():
        logger.warning(
            f"The state history is full. "
            f"This sync and future syncs won't be able to use the history to filter out duplicate files. "
            f"It will instead use the time window of {self._time_window_if_history_is_full} to filter out files."
        )
    for f in all_files:
        if self._should_sync_file(f, logger):
            yield f