Adding fix for start and end empty fields on csv files