How to get the url of a file field of a given node?
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());