Changed how we handle Word and PDF-files to a more stable idea.