How to get filename from a URL

Use this:

Nice and easy.