Is there a way to insert google file location into gdoc (gsheet, gslides)?

I am looking for an easy way to keep track of/communicate google file locations. When using the gdrive links, these get a cryptic file_id. That works to get direct access to the document, but is tedious when file location is relevant information.

Ideally, I would want create links that include the pathway (i.e. foldernames).
Alternatively, a function could be built into a template, which would automatically insert the file location.

Has anyone resolved this? It does not seem like Google is offering this by default.., not sure why not.