return path to file of the provided url
the url from which the path should be extracted
the path of the given url