Concatenates relative filenames.

First this function computes the full filename of path1 relative to the current directory. Then it successively computes the full filenames of arguments path2 to pathn relative to the filename returned for the previous argument. Finally the last result is returned.

Calling this function without argument returns the full name of the current directory.