Deleting comments and correction TxtLogger