Are you missing the code to convert '\' to '/' here?