adding new line a end of file