Add cross validation file parse function.