         return URL.createObjectURL file.rawFileObject
     file.url
 
+serializeData = (data) ->
+    data = _.map data, (value, key) -> key + '=' + value
+    if data.length then '?' + data.toString() else ''
 
 module.exports = FilePicker
 


        @props.valueLink.requestChange files

    displayFile: (file) ->
        if (url = getFileURL file) window.open url
        else console.error "broken file : ", file

    render: ->

                        file: file
                        editable: @props.editable
                        delete: => @deleteFile file
                        display: (params) => @displayFile file, params
                        messageID: @props.messageID

            if @props.editable
