Minor change to not use multiprocessing when there is only one file.