support both path seperator: slashes and backslashes