Adds new lines to file