add support for symlinks