Strip own file name in links.