Im planning a RAG and this seems to implement the "autocontext" i was expectong to do.
For the library i have, its not just the file name but multiple folder names are descriptive, especially if i build a data dictionary.
Have you looked into some simple tagging/conversion dictionary that preproccess the context?