Add undo files and change the lineNumbers keys