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