valid_experiments_months now closes opened datasets, fixing a Too many open files bug