Get a file's URI in Drupal 8

<?php
// Load file
$file = \Drupal\file\Entity\File::load($fid);
// Get URI
$file = $file->getFileUri();