I have this flask app route: @app.route('/generatecleanbudgetfile', methods=['GET', 'POST']) def clean_budget(): file = request.files.get('data_file') app.logger.info('Budget Formatting request has started') try: if request.method == 'POST': file = request.files.get('data_file') file.seek(0) buffer = budget_cleaner(file) buffer.seek(0) app.logger.info('Conversion Complete') return send_file( buffer, as_attachment=True, attachment_filename=f'stripped_budget_{dt.today().strftime("%m.%d.%Y")}.xlsx', mimetype='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'…