code: def clean_file():
      if os.path.isfile(filename):
          os.unlink(filename)
      if os.path.isfile(filename + "-wal"):
          os.unlink(filename + "-wal")
      yield
      if os.path.isfile(filename):
          os.unlink(filename)
      if os.path.isfile(filename + "-wal"):
          os.unlink(filename + "-wal")
  
imports: import os
  from unittest import mock
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: clean_file() without return types