added last line to file