reset marker to file length when file shrinks