modify file open for windows