Changes for USB chat file

Changes to obtain that  a chat file is created on the USB stick. This
update was prompted by some teachers who asked for the possibility to
extract a copy of the chat that took place in the classroom, once they
are back home.