module WolfCore::FileUtils

def safe_require(missing_files)

def safe_require(missing_files)
  while missing_files.any?
    files_to_require = missing_files
    missing_files = []
    files_to_require.each do |file|
      begin
        require_relative file
      rescue NameError
        missing_files << file
      end
    end
  end
end