begin file-upload.coffee for fileupload handling