disable file upload when quiz disabled