public function fileUpload($modelName, $fieldName)
    {
        $fieldFactory = app('admin_field_factory');

        //get the model and the field object
        $field = $fieldFactory->findField($fieldName);

        return response()->JSON($field->doUpload());
    }