Why not use the upstream file name (basename) from the URL?