flushing out directory pages