Changed functions

refactored variables and functions according to code conventions and changed handleCSVContent function to work for last row and checkNullity to remove quotes if already present