added a new function to find the file name from a url or given string resembling a url