Added handling of lists, which are interpreted as the directory component.
Rewrote syntax of relative paths, modified documentation accordingly.