cleaning up final.txt