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