Will this work? Won't we have issues with a file name such as "a/b/c.js" or "d:\\path\\file.js", since both of these end up being non relative module names.