Saving all plots from a ROOT file into separate png files

Hi, I get this:

$ rootls 01_mask_noisy_pixels.root 
EventLoaderEUDAQ2  MaskCreator

Inside those two “root folders” there are more “folders” with plots. This is what I want to “extract”. In case I am not expressing myself clearly, this: