file seek function for win.
(use in future)