Fixed link href when files get deleted.