old_contents: from .layout import BIDSLayout, add_config_paths, parse_file_entities
  from .models import BIDSFile
  # Backwards compatibility
  from bids_validator import BIDSValidator
  
  __all__ = ["BIDSLayout", "BIDSValidator", "add_config_paths",
             "parse_file_entities", "BIDSFile"]
  
new_contents: from .layout import BIDSLayout, add_config_paths, parse_file_entities
  from .models import BIDSFile, BIDSImageFile, BIDSDataFile, BIDSJSONFile
  # Backwards compatibility
  from bids_validator import BIDSValidator
  
  __all__ = [
      "BIDSLayout",
      "BIDSValidator",
      "add_config_paths",
      "parse_file_entities",
      "BIDSFile",
      "BIDSImageFIle",
      "BIDSDataFile",
      "BIDSJSONFile",
  ]
  
subject: add BIDSFile subclasses to namespace