PIM-3434: throw exception when media file does not exist

| Q                    | A
| -------------------- | ---
| Bug fix?             | Y
| New feature?         | N
| BC breaks?           | N
| CI currently passes? | Y
| Tests pass?          | Y
| Scenarios pass?      | running
| Checkstyle issues?*  | N 
| PMD issues?**        | N
| Changelog updated?   | Y
| Fixed tickets        | -
| Doc PR               | -