recover doctext from file missing doc headers