Bug fix getting file name from url.