code: def get_file(path):
      res = os.path.join(
          os.path.dirname(os.path.abspath(__file__)), path
      )
      print(res)
      return res
  
file_path: stanza/stanza/pipeline/demo/demo_server.py
imports: from flask import Flask, request, abort
  import json
  import stanza
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: get_file(path) and returns: res