Access Data file content via data file URL

Hey. I really need to access data file content via URL. I have a code that spits out URLs to specific data files. Example: /data/client/clientname.yaml I can’t use .Site.Data.client.clientname this time. URL is all I have. One idea was to slice out “clientname” from URL, but I really would like to find a better way. Is there?

Your question is unclear. Please provide a sample of the data file.