Sorry, but you seem to have not understood me at all. To clarify even more, the conversation might look like this:
Client: hash1?
Server: yes
Client: hash2?
Server: no
Client: hash3?
Server: yes
And so on, until the client knows the file completely, so has no more questions.