ensuring that file upload fields can be set to uneditable