Upload csv file and save into database