Pass only remote filename

If we are using this piece of code to cache more than one feed, it would be better to pass only URL of remote file. Works fine for single feed as well.