Add data file parse to test.R