 
       check @config, {
         file:            Match.Any
+        fileName:        Match.Optional String
         meta:            Match.Optional Object
         onError:         Match.Optional Function
         onAbort:         Match.Optional Function

      }

      if @config.file
        console.time('insert ' + @config.file.name) if @collection.debug
        console.time('loadFile ' + @config.file.name) if @collection.debug

        if Worker and @config.allowWebWorkers
          @worker = new Worker '/packages/ostrio_files/worker.js'

        @fileData     =
          size: @config.file.size
          type: @config.file.type
          name: @config.fileName or @config.file.name
          meta: @config.meta

        @fileData = _.extend @fileData, @collection.getExt(self.config.file.name), {mime: @collection.getMimeType(@fileData)}
