I am writing using printwriter, and I previously write file with UTF-8 BOM. It causes the csv file having additional whitespace in front of the character. Now I remove these