       if @public and not storagePath
         throw new Meteor.Error 500, "[FilesCollection.#{@collectionName}] \"storagePath\" must be set on \"public\" collections! Note: \"storagePath\" must be equal on be inside of your web/proxy-server (absolute) root."
 
-      storagePath ?=  "assets/app/uploads/#{@collectionName}"
+      storagePath ?= "assets#{nodePath.sep}app#{nodePath.sep}uploads#{nodePath.sep}#{@collectionName}"
       Object.defineProperty self, 'storagePath', {
         get: ->
           sp = ''
           if _.isString storagePath
             sp = storagePath
           else if _.isFunction storagePath
-            sp = storagePath.call self, "assets/app/uploads/#{self.collectionName}"
+            sp = storagePath.call self, "assets#{nodePath.sep}app#{nodePath.sep}uploads#{nodePath.sep}#{self.collectionName}"
           
           unless _.isString sp
             throw new Meteor.Error 400, "[FilesCollection.#{self.collectionName}] \"storagePath\" function must return a String!"

    
    {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()

