How to get the url of a file field of a given node? $node-&gt;field_file gives me a FileFieldItemList while the first entry seems to be a FileItem.

$node-&gt;field_file-&gt;getValue() gives me an integer (I guess the file id). How can I actually get the downloadable file uri from that?
First you need to load it with the fid :


  $file = \Drupal\file\Entity\File::load($fid);



  And after :


  $imageSRC = file_create_url($file-&gt;getFileUri());