Handle all text/* and office documents the same way