add new line at and of file