A radio field can be disabled/readonly by setting it to an array of the values to be disabled
$field['disabled'] = array(
'value 1',
'value 2',
'value 3'
);
As far as I know a file field cannot be disabled or set to readonly in this way. You would probably need to add JavaScript and remove the controls that allow removing and/or adding a file.