File-Handling (fixes #22)