Functions to scan directory for function and variable definitions and output to org-mode table