Adding autowrap for text files