Added code to print sessions.txt