Added text file (de-)serialization

`ConfigurationSerializer` now supports `toTextFile()` and `fromTextFile`.