Fix to the way a large number of files is being split and processed