New TextWriter class.
For resource dependent classes, use a kind of dispose pattern.
Throw an IOException when File::Copy or File:Delete fail.