rm new line at file end