could open pdf, not very good; fix bug: can't open txt