document vs plain text

document

noun
  • Any material substance on which the information is represented by writing. 

  • An object conveying information by whatever means, capable of being indexed alongside other similar objects. 

  • An original or official paper used as the basis, proof, or support of anything else, including any writing, book, or other instrument conveying information pertinent to such proof or support. 

  • A file that contains text. 

verb
  • To furnish with documents or papers necessary to establish facts or give information. 

  • To record in documents. 

plain text

noun
  • Data which consists only of human-readable text, as opposed to machine-readable binary data or formatting markup. 

  • Text or any data that is to be encrypted (as opposed to ciphertext). 

adj
  • Consisting only of plain text. 

How often have the words document and plain text occurred in a corpus of books? (source: Google Ngram Viewer )