Removed acceptParam and added acceptedMimeTypes as parameters.
Added the xhr info for  callbacks.
Changed the doc to reflect file.previewElement