Use folder name instead of file url in secondary text(details)

to avoid in case of deep path retuns a long text.