update for removal of tmp.txt