Decoupled file reading and parsing.