code: def get_filename(self, tensor_name: str) -> (str, str):
      names = [tensor_name]
      if self.prefix is not None:
          prefixed = f"{self.prefix}.{tensor_name}"
          names.append(prefixed)
      for name in names:
          filename = self.routing.get(name, None)
          if filename is not None:
              return str(filename), name
  
          aliases = self.aliases.get(name, [])
          for alias in aliases:
              filename = self.routing.get(alias, None)
              if filename is not None:
                  return str(filename), alias
      raise RuntimeError(f"weight {tensor_name} does not exist")
  
imports: import os
  from pathlib import Path
  from typing import List, Dict, Optional, Tuple
  from safetensors import safe_open, SafetensorError
  import torch
  from loguru import logger
  from huggingface_hub import hf_hub_download
  import json
  from text_generation_server.utils.log import log_once
label_desc: Use image node_id 3 for calling the Weights obj's underlying member method code with example usage: obj.get_filename(tensor_name) and returns: str,  name, str,  alias