code: def calc_stocknames(path):
      filenames = calc_all_filenames(path)
      res = []
      for filename in filenames:
          stockname = calc_stockname_from_filename(filename)
          res.append(stockname)
      return res
  
file_path: FinRL/finrl/meta/data_processors/func.py
imports: from __future__ import annotations
  import copy
  import datetime
  import os
  from datetime import date
  from datetime import timedelta
  from typing import List
  from typing import Tuple
  import numpy
  import pandas
label_desc: Use image node_id 3 for calling a global function with example usage: calc_stocknames(path) and returns: res