Big part of reading file logic moved to i/o subsystem.