def file_uri_to_path(uri):
    uri_path = urlparse(uri).path
    return url2pathname(uri_path)
Convert File URI to local filesystem path according to:
dataset/ETHPy150Open scrapy/w3lib/w3lib/url.py/file_uri_to_path