Bugfix: can now link to either directories or regular files, not just regular files.