Accept totalunits in FileBased splitting.
Merge pull request #5256 from AndresTanasijczuk/totalunits

Accept total_files in FileBased splitting.