Loads file entities from the database.
array $fids: (optional) An array of entity IDs. If omitted, all entities are loaded.
array An array of file entities, indexed by fid.
Drupal\Core\Entity\Query\EntityQueryInterface
function file_load_multiple(array $fids = NULL) {
return entity_load_multiple('file', $fids);
}