Making CmsFileUpload more flexible