code: def __init__(
      self, install_dir: str, template_dir: str, dry_run: bool
  ) -> None:
      self.install_dir = install_dir
      self.template_dir = template_dir
      self.filenames = set()
      self.dry_run = dry_run
  
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 1 to create a new FileManager object  with example: obj = FileManager(install_dir, template_dir, dry_run)