Last update for main txt handler