def METHOD_NAME():
    try:
        print(datetime.datetime.now().isoformat() + " upload has started its task")
        file = request.files["file"]
        basepath = os.path.dirname(__file__)
        upload_path = os.path.join(
            basepath, "image_data_uploads", secure_filename(file.filename)
        )
        file.save(upload_path)
        file.stream.close()
        print(datetime.datetime.now().isoformat() + " upload has finished its task")
        return send_success({"message": "upload success"})
    except Exception:
        print(traceback.format_exc())
        return send_traceback_error()