Handle properly the csv upload to allow repeat uploads of the same file
(without returning improperly the number of data sets).