fix bug - open file on windows