Organize your file names in a way that the parent path is included in the file name. Then you can use add_buffer.
Problem with such suggestions is that they are only useful in very special cases, and even then can mostly be solved with what's already available. We want to avoid bloating the engine API with lots of function variants that are very rarely used.