Implements hook_entity_info().
function system_entity_info() {
return array(
'file' => array(
'label' => t('File'),
'base table' => 'file_managed',
'entity keys' => array(
'id' => 'fid',
'label' => 'filename',
),
'static cache' => FALSE,
),
);
}