code: def filesize(filename: pathlib.Path):
      assert filename.exists(), f"{filename} is missing"
      return os.stat(filename).st_size
  
file_path: pytorch/test/inductor/test_debug_trace.py
imports: import logging
  import os
  import pathlib
  import re
  import shutil
  import sys
  import unittest
  import torch
  from torch._inductor import config, test_operators
label_desc: Use image node_id 1 for calling a global function with example usage: filesize(filename) and returns: os