Changed FileIO not to use function pointers, but direct function calls.
Correction in toString and fromString functions