Adds handling of relative symbolic links

Warning: Does not work with absolute symbolic links