wired file-preview + fix file-upload view