add a line at the end of file