Fixed file reading. The old implementation was shit.
3 files changed