old_contents: from model.content import Document
  
  documentStr = str(open("input.txt", "r").read())
  document = Document(documentStr)
  print document.__str__()
new_contents: from model.content import Document
  
  documentStr = str(open("input.txt", "r").read())
  
  
  document = Document(documentStr)
  
  outputStr = document.__str__()
  print outputStr
  
  output = open("output.txt", "w")
  output.write(outputStr)
  
subject: print output to a file