Adds relative file to this, considering this as a directory.
If relative has a root, relative is returned back.
This function is complementary with relativeTo,
f.resolve(g.relativeTo(f)) == g should be always
true except for different roots case.