Convert PDF, Doc file to plain text