add line at the end of file