Allow user input of html and txt files