Parse csv and mysql client side

Does the user see an IndexOurtOfBounds if the file is empty? Checking that case might be a bit friendlier.