Find the next file in a sequence of files in a thread-safe way.
conda install -c i4ds -c conda-forge seqfile
Generate sequential file names in a thread-safe way