 
         @props.valueLink.requestChange files
 
-    displayFile: (file) ->
-        if (url = getFileURL file) window.open url
+    displayFile: (file, params={}) ->
+        if (url = getFileURL file) window.open url + serializeData(params)
         else console.error "broken file : ", file
 
     render: ->

                        file: file
                        editable: @props.editable
                        delete: => @deleteFile file
                        display: => @displayFile file
                        messageID: @props.messageID

            if @props.editable

        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

