I barely qualify as experienced, and am certainly not an expert, but here is how I have done it. I wrote directly to the cRio for the purpose of capturing match data, so the file was relatively small. I got this idea from
Rob VanHam from FRC67 & FRC 548.