Add aggregated file checker script using R