add scope tracking for files that contain modules, but also contain a loader.