                     id[0], settings.publicKey, reason)
         df.reject()
       .done (data) ->
-        group = new uploadcare.files.SavedFileGroup(data, settings)
+        group = new uc_files.SavedFileGroup(data, settings)
         df.resolve(group.api())
     else
       df.reject()

      else if utils.isFileGroup(item)
        for file in item.files()
          files.push(file)
    return new uploadcare.files.FileGroup(files, settings).api()

  ns.loadFileGroup = (groupIdOrUrl, settings) ->
    settings = s.build(settings)

  jQuery: $,
  utils,
  locale: {t},
  settings: s,
  files: uc_files,
} = uploadcare

namespace 'files', (ns) ->
