code: def write(
      self,
      filename: str,
      env_callable: Callable[[], Union[str, Dict[str, Any]]],
  ) -> None:
      self.write_with_template(filename, filename, env_callable)
  
imports: import contextlib
  import functools
  import hashlib
  import os
  import re
  import sys
  import textwrap
  from argparse import Namespace
  from dataclasses import fields, is_dataclass
  from enum import auto, Enum
  from typing import Any, Callable, Dict, Generic, Iterable, Iterator, List, Literal, NoReturn, Optional, Sequence, Set, Tuple, TypeVar, Union
  from typing_extensions import Self
  from torchgen.code_template import CodeTemplate
label_desc: Use image node_id 5 for calling the FileManager obj's underlying member method code with example usage: obj.write(filename, env_callable) without return types