able to extract the URL from the file buffer