add front end support for links to files on hg