SAAS-527: Allow files to be uploaded to either the cloud or on local file storage

Done.