changed the name of the output files to the same as the input files + the number of the subset