adding new line to the end of file