Strip whistespace from csv and skip blank lines