inputs text from file (ie xml) into input box