Accept total_files in FileBased splitting.