code: def configure_progress(file_name, cb=None):
      if file_name is not None:
          global state_file_name
          state_file_name = file_name
      if cb is not None:
          global state_callback
          state_callback = cb
      progress(None)
  
imports: import time
  from datetime import datetime, timedelta
  import nnabla.utils.callback
  from nnabla import logger
  from nnabla.utils.cli.utility import cpu_load_backend_ok
label_desc: Use image node_id 1 for calling a global function with example usage: configure_progress(file_name, cb) without return types