code: def CreateStorageWriterForFile(cls, session, path):
      
      if sqlite_file.SQLiteStorageFile.CheckSupportedFormat(path):
        return sqlite_writer.SQLiteStorageFileWriter(session, path)
  
      return None
docs: Creates a storage writer based on the file.
  
      Args:
        session (Session): session the storage changes are part of.
        path (str): path to the storage file.
  
      Returns:
        StorageWriter: a storage writer or None if the storage file cannot be
            opened or the storage format is not supported.