docs: def download_file(url):
      """Download file"""
  
      response = requests.get(url, stream=True)
      fp = tempfile.NamedTemporaryFile()
      for chunk in response.iter_content(chunk_size=1024):
          if chunk:  # filter out keep-alive new chunks
              fp.write(chunk)
  
      # log.info(f'Download file - tmp file: {fp.name}  size: {fp.tell()}')
      return fp