Isolate parsing into separate file.