fixxed lastmessage file parser