Deletes files.
Instead of directly deleting a file, it is strongly recommended to delete file usages instead. That will automatically mark the file as temporary and remove it during cleanup.
$fid: The file id.
file_usage()->listUsage()
function file_delete_multiple(array $fids) {
entity_delete_multiple('file', $fids);
}