diff --git a/src/Twig/Extension/FieldValueExtension.php b/src/Twig/Extension/FieldValueExtension.php
index d7d5243..775a86c 100644
--- a/src/Twig/Extension/FieldValueExtension.php
+++ b/src/Twig/Extension/FieldValueExtension.php
@@ -19,6 +19,8 @@ class FieldValueExtension extends \Twig_Extension {
       new \Twig_SimpleFilter('field_value', [$this, 'getFieldValue']),
       new \Twig_SimpleFilter('field_raw', [$this, 'getRawValues']),
       new \Twig_SimpleFilter('field_target_entity', [$this, 'getTargetEntity']),
+      new \Twig_SimpleFilter('field_file_uri', [$this, 'getFileUri']),
+      new \Twig_SimpleFilter('field_media_file_uri', [$this, 'getMediaFileUri']),
     ];
   }
 
@@ -157,6 +159,82 @@ class FieldValueExtension extends \Twig_Extension {
     return count($entities) > 1 ? $entities : reset($entities);
   }
 
+  /**
+   * Twig filter callback: Return the referenced file uri.
+   *
+   * Suitable for file entity_reference fields.
+   *
+   * @param array|null $build
+   *   Render array of a field.
+   *
+   * @return String[]|null
+   *   A single uri or an array of file uri's. If no target
+   *   entity is found, null is returned.
+   */
+  public function getFileUri($build) {
+    /* @var \Drupal\file\FileInterface[] $target_entities */
+    $target_entities = $this->getTargetEntity($build);
+
+    if (empty($target_entities)) {
+      return NULL;
+    }
+
+    if (!is_array($target_entities)) {
+      $target_entities = [$target_entities];
+    }
+
+    $uris = [];
+    foreach ($target_entities as $target_entity) {
+      if ($target_entity->getEntityTypeId() !== 'file') {
+        return NULL;
+      }
+      $uris[] = $target_entity->getFileUri();
+    }
+
+    return count($uris) > 1 ? $uris : reset($uris);
+  }
+
+  /**
+   * Twig filter callback: Return the referenced media file uri.
+   *
+   * Suitable for media entity_reference fields.
+   *
+   * @param array|null $build
+   *   Render array of a field.
+   *
+   * @return String[]|null
+   *   A single uri or an array of media file uri's. If no target
+   *   entity is found, null is returned.
+   */
+  public function getMediaFileUri($build) {
+    /* @var \Drupal\media\MediaInterface[] $target_entities */
+    $target_entities = $this->getTargetEntity($build);
+
+    if (empty($target_entities)) {
+      return NULL;
+    }
+
+    if (!is_array($target_entities)) {
+      $target_entities = [$target_entities];
+    }
+
+    $uris = [];
+    foreach ($target_entities as $target_entity) {
+      if ($target_entity->getEntityTypeId() !== 'media') {
+        return NULL;
+      }
+
+      $source_field_name = $target_entity->getSource()->getConfiguration()['source_field'];
+      /** @var \Drupal\file\FileInterface $file_entity */
+      $file_entity = $target_entity->get($source_field_name)->entity;
+      if ($file_entity) {
+        $uris[] = $file_entity->getFileUri();
+      }
+    }
+
+    return count($uris) > 1 ? $uris : reset($uris);
+  }
+
   /**
    * Checks whether the render array is a field's render array.
    *
