fix multi files issues
fix path separator comparison in Windows