Use redirected URL to name file