TextWriter classes are constructed with ObjectOwnershipPolicy parameter
Introducing ConfigFile class
Use ConfigFile object when reading configuration