average of output of netcorr files from multiple subjects

Hi All,

I have processed HCP 500 subjects resting state data and ran them through netcorr and I. have an output file for each subject that has a 232x232 matrix with CC and Fisher Z values.

Is there a quick way in afni to average these 500 netcorr files to create an average connectivity matrix file ?

Many thanks

Ri