support file log with windows