Can OCR Recognize Text Files?

OCR detects and recognizes characters in images and do not recognize Word, PDF, and Excel files.