txt and pdf working now