Added file upload with preview.