`from = normalizePath(from).split '/'` then?  Or is it that we don't like reassigning passed-in variables (which I usually avoid too, actually)?