Augmenting add history link from files and dirs

This adds a link to views that were already there