Fixed a bug in saveToFile where rows that started with a blank were being deleted