Added new function to generate lists of files that need headers