Update and rename file with numbered line breaks