se puoi usare solo file di testo dovresti creare ogni file per ogni "chat" che si crea in contemporanea...è l'unica soluzione che mi viene in mente