Solved a bug that caused '-n' to not work
leadingZeros is now (more accurately) based on the sequence length, instead of the number of files