<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def CreateStorageWriter(cls, storage_format, session, path):
 """Creates a storage writer. Args: session (Session):
 session the storage changes are part of. path (str):
 path to the storage file. storage_format (str):
 storage format. Returns: StorageWriter: a storage writer or None if the storage file cannot be opened or the storage format is not supported. """

    if storage_format == definitions.STORAGE_FORMAT_SQLITE:
      return sqlite_writer.SQLiteStorageFileWriter(session, path)

    return None