code: def _load_greedy(self, module_name, dependencies, recursive):
          
          found = module_name in self.modules
          allmodules = list(self._pathfiles.keys())
          i = 0
  
          while not found and i < len(allmodules):
              current = allmodules[i]
              if not current in self._modulefiles:
                  #We haven't tried to parse this file yet
                  self.parse(self._pathfiles[current], dependencies and recursive)                
                  found = module_name in self.modules
              i += 1
docs: Keeps loading modules in the filepaths dictionary until all have
          been loaded or the module is found.