Pathname should have backslash, not frontslash.
Comments added.