fixed a bug when rewind files -> nb_read_seen = 0