fix bug in file upload
enhance preview file
implements MediaBrowser interface to browse media in the media manager