write undocumented.txt with a list of undocumented declarations per file