Loads a single file entity from the database.
$fid: A file ID.
$reset: Whether to reset the internal file_load_multiple() cache.
Drupal\file\File A file entity or FALSE if the file was not found.
function file_load($fid, $reset = FALSE) {
$files = file_load_multiple(array(
$fid,
), $reset);
return reset($files);
}