     {extension, extensionWithDot} = @_getExt fileName
 
     result           = opts.file
-    result.path      = "#{@storagePath}/#{opts.FSName}#{extensionWithDot}"
+    result.path      = "#{@storagePath}#{nodePath.sep}#{opts.FSName}#{extensionWithDot}"
     result.name      = fileName
     result.meta      = opts.file.meta
     result.extension = extension

    
    {extension, extensionWithDot} = @_getExt fileName
    opts.meta ?= {}
    opts.path  = "#{@storagePath}/#{FSName}#{extensionWithDot}"

    storeResult = (result, callback) ->
      result._id = fileId

          type:         opts.type
          size:         opts.size
          extension:    extension
          _storagePath: path.replace "#{nodePath.sep}#{fileName}", ''

        result._id = Random.id()

