Splits a csv file into smaller pieces