That is not about getting file name from the url of current page. I have a php file like that.
Alternatively explode:
Output:
woman4.jpg