Framework for readRawText