I am trying to plot data from multiple files all at once and save these plots to a directory. I can plot some or one at a time, but am unable to get my code to plot all the data