Document class.
__init__
read
write
Document
Create a Document instance.
Return contents of file.
Write text to file.