I have 30 .dat files each measured at a different alpha value that have data that needs to be plugged into the pressure coefficent equation to find the mean, then plotted against the x/c value which is just another equation that has data within the .dat files. I know a for loop is possible to extract the values I need from each file individually then another one to then plug them into a certain equation then take the mean. Any help would be appreciated in how to loop data extraction for individual files. the names of the file go from alpha__6 which is alfa -6, to alpha_24, which is an alfa of 24. Thank yu.