file size function for win.
(use in future)