move file upload into edit view only