text file vs writing

text file

noun
  • A data file containing only plain, human-readable text, distinct from documents with embedded formatting 

  • A data file in a character encoding that allows it to be read in non-specialised text editor. 

writing

noun
  • Something written, such as a document, article or book. 

  • The process of representing a language with symbols or letters. 

  • The style of writing of a person. 

  • Intended for or used in writing. 

  • Graphism of symbols such as letters that express some meaning. 

  • A work of an author. 

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