Add lines to end of files