can handle spaces in .doc also
docx cant run headless
converting pdf to text using pdf-text

fixes #3