Added reading and writing of plain text tags