Basics of file IO for Parser.