code: def dir_obs(tmpdir):
      basedir = tmpdir.join("file_storage")
      return basedir, FileStorageObserver(basedir.strpath)
  
imports: import datetime
  import os
  from copy import copy
  import pytest
  import json
  from pathlib import Path
  from sacred.observers.file_storage import FileStorageObserver
  from sacred.metrics_logger import ScalarMetricLogEntry, linearize_metrics
label_desc: Use image node_id 2 for calling a global function with example usage: dir_obs(tmpdir) and returns: basedir,  FileStorageObserver