The basics of parsing the file.