Removed dynamic memory IO functions (used getline, which is not ANSI compliant).
These might be included again later.