Reset file seek since detect sets it to eof