add tailing line to file(s)