Added hyphenate preference
Added separator preference
Added support for special characters
Added last line has separator and last line is newline