Currently, Revit only provides a File Path label for sheets. Implementing a feature that allows displaying just the file name, without the entire path, would simplify title blocks and make it easier to present the file name directly.
Check this one:
https://forums.autodesk.com/t5/revit-ideas/file-name-parameter-label/idi-p/7212430