* fixed so you must choose either textfile option or file option.