If `files` is empty, we should stop immediately.