def check_presence_download(filename: Path, backup_url):
    'Check if file is present otherwise download.'
    if (not filename.is_file()):
        from .readwrite import _download
        _download(backup_url, filename)
Check if file is present otherwise download.
def check_presence_download(filename: Path, backup_url):
    
    if (not filename.is_file()):
        from .readwrite import _download
        _download(backup_url, filename)