Fix read encrypted chat msg sequence from file