code: def get_movie_id(filename_path):
      dirpath, filename = os.path.split(filename_path)
      _, movie_id_str = os.path.split(dirpath)
      return int(movie_id_str)
  
imports: import parlai.core.build_data
  import glob
  import gzip
  import multiprocessing
  import os
  import re
  import sys
  import time
  import tqdm
  import xml.etree.ElementTree
  from parlai.core.build_data import DownloadableFile
  from parlai.utils.io import PathManager
label_desc: Use image node_id 1 for calling a global function with example usage: get_movie_id(filename_path) and returns: int