generalization of the destination url; more comments

With this commit, I was able to successfully register
a file from /tmp/ to /tmp/registered/