Add trailing line to files