remove trailing blank
update text file