Remove file-like object abstraction, introduce reader.