11. Log files

This function is the session recorder, characters send and received from the process are written into it. This file will be very useful later.