(get number of files) / (number of routines in program) + 1 = next routine
This would break the new algorithm that saves and loads to the file while the workout is in progress. Find a way to check number of files that are not in progress and then run the above algorithm. All the files functions need a refactor with my new change :(