code: def gen_dereference_dir(name):
      dirname = "dereference_{}".format(name)
      archive._make_dirs(dirname + "/inner")
      with open(dirname + "/outside.txt", "w") as f:
          f.write("one")
  
      os.symlink("../outside.txt", dirname + "/inner/link.txt")
      return dirname
  
imports: import errno
  import hashlib
  import os
  import shutil
  import socket
  import tarfile
  import threading
  import six
  import pytest
  import yatest.common
  import library.python.archive
label_desc: Use image node_id 21 for calling a global function with example usage: gen_dereference_dir(name) and returns: dirname