directorySessionStorage

fun directorySessionStorage(
    rootDir: File,
    cached: Boolean = true
): SessionStorage

Creates a session storage that serializes them into regular files under the specified rootDir