Fix base_disk_file.cpp

This is thus in all likelihood a bug.
I don't have the absolute certainity, but the removed snippet is apparently useless, and has the nice side effect of breaking the next loop.