Merge pull request #1 from HexSoftware/master

Merge pull request #83 from nnordhof/master
small file I/O fixes
Merge branch 'master' of https://github.com/nnordhof/TestGen
Merge pull request #84 from nnordhof/master

fixed topic reading/writing
Merge pull request #85 from RAlmada/master

Fixing diff problem