Added the text file sending feature and cleaned some code