code: def filenum_to_shard_90(filenum):
      if filenum >= 1 and filenum <= 40:
          return 2
      if filenum >= 900 and filenum <= 931:
          return 2
      if filenum in (
          1018,
          1020,
          1036,
          1044,
          1060,
          1061,
          1072,
          1118,
          1119,
          1132,
          1141,
          1142,
          1148,
      ):
          return 2
      if filenum >= 2165 and filenum <= 2180:
          return 2
      if filenum >= 2295 and filenum <= 2310:
          return 2
      if filenum >= 2570 and filenum <= 2602:
          return 2
      if filenum >= 2800 and filenum <= 2819:
          return 2
      if filenum >= 3110 and filenum <= 3145:
          return 2
  
      if filenum >= 41 and filenum <= 80:
          return 1
      if filenum >= 1120 and filenum <= 1129:
          return 1
      if filenum >= 2140 and filenum <= 2159:
          return 1
      if filenum >= 2280 and filenum <= 2294:
          return 1
      if filenum >= 2550 and filenum <= 2569:
          return 1
      if filenum >= 2775 and filenum <= 2799:
          return 1
      if filenum >= 3080 and filenum <= 3109:
          return 1
  
      if filenum >= 81 and filenum <= 900:
          return 0
      if filenum >= 1001 and filenum <= 1017:
          return 0
      if filenum in (1019, 1130, 1131):
          return 0
      if filenum >= 1021 and filenum <= 1035:
          return 0
      if filenum >= 1037 and filenum <= 1043:
          return 0
      if filenum >= 1045 and filenum <= 1059:
          return 0
      if filenum >= 1062 and filenum <= 1071:
          return 0
      if filenum >= 1073 and filenum <= 1117:
          return 0
      if filenum >= 1133 and filenum <= 1140:
          return 0
      if filenum >= 1143 and filenum <= 1147:
          return 0
      if filenum >= 1149 and filenum <= 2139:
          return 0
      if filenum >= 2160 and filenum <= 2164:
          return 0
      if filenum >= 2181 and filenum <= 2279:
          return 0
      if filenum >= 2311 and filenum <= 2549:
          return 0
      if filenum >= 2603 and filenum <= 2774:
          return 0
      if filenum >= 2820 and filenum <= 3079:
          return 0
      if filenum >= 4000 and filenum <= 7017:
          return 0
  
file_path: stanza/stanza/utils/datasets/constituency/convert_ctb.py
imports: from enum import Enum
  import glob
  import os
  import re
  import xml.etree.ElementTree
  from stanza.models.constituency import tree_reader
  from stanza.utils.datasets.constituency.utils import write_dataset
  from stanza.utils.get_tqdm import get_tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: filenum_to_shard_90(filenum) and returns: int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int