revise txt file