Discover the variable names chosen for each of a file's top-level required modules.