class_docstr: SnapshotController inherits from BaseController and manages business logic related to snapshots
  
  Attributes
  ----------
  code : datmo.core.controller.code.code.CodeController
  file_collection : datmo.core.controller.file.file_collection.FileCollectionController
  environment : datmo.core.controller.environment.environment.EnvironmentController
  
  Methods
  -------
  create(dictionary)
      Create a snapshot within the project
  checkout(id)
      Checkout to a specific snapshot within the project
  list(visible=None, sort_key=None, sort_order=None)
      List all snapshots present within the project based on given filters
  delete(id)
      Delete the snapshot specified from the project
docstr: Get list of file objects for snapshot id.
  
  Parameters
  ----------
  snapshot_id : str
      id for the snapshot you would like to get file objects for
  mode : str
      file open mode
      (default is "r" to open file for read)
  
  Returns
  -------
  list
      list of python file objects
  
  Raises
  ------
  DoesNotExist
      snapshot object does not exist
docstr_tok: ["Get","list","of","file","objects","for","snapshot","id",".","Parameters","--","--","--","--","--","snapshot_id",":","str","id","for","the","snapshot","you","would","like","to","get","file","objects","for","mode",":","str","file","open","mode","(","default","is","``","r","''","to","open","file","for","read",")","Returns","--","--","--","-","list","list","of","python","file","objects","Raises","--","--","--","DoesNotExist","snapshot","object","does","not","exist"]
code: def get_files(self, snapshot_id, mode="r"):
      """Get list of file objects for snapshot id.
  
      Parameters
      ----------
      snapshot_id : str
          id for the snapshot you would like to get file objects for
      mode : str
          file open mode
          (default is "r" to open file for read)
  
      Returns
      -------
      list
          list of python file objects
  
      Raises
      ------
      DoesNotExist
          snapshot object does not exist
      """
      try:
          snapshot_obj = self.dal.snapshot.get_by_id(snapshot_id)
      except EntityNotFound:
          raise DoesNotExist()
      file_collection_obj = self.dal.file_collection.get_by_id(
          snapshot_obj.file_collection_id
      )
      return self.file_driver.get_collection_files(
          file_collection_obj.filehash, mode=mode
      )
  
imports: import os
  from datmo.core.controller.base import BaseController
  from datmo.core.controller.code.code import CodeController
  from datmo.core.controller.file.file_collection import FileCollectionController
  from datmo.core.controller.environment.environment import EnvironmentController
  from datmo.core.entity.snapshot import Snapshot
  from datmo.core.util.i18n import get
  from datmo.core.util.validation import validate
  from datmo.core.util.json_store import JSONStore
  from datmo.core.util.exceptions import FileIOError, RequiredArgumentMissing, ProjectNotInitialized, EntityNotFound, TaskNotComplete, DoesNotExist, UnstagedChanges
label_desc: Use image node_id 10 for calling the SnapshotController obj's underlying member method code with example usage: obj.get_files(snapshot_id, mode) and returns: self