in backend/lambda/app.py [0:0]
def download_file(url): r = requests.get(url) if r.status_code == 200: file = BytesIO(r.content) else: print("file failed to download") return file