added boolean to allow/disallow file upload for mops