title: How to get wiremock to return 404 on error instead of 500 when the response bodyFileName is not found
body: <p>I'm looking at getting Wiremock to return a 404 instead of a 500 when it fails to find a response file. I have the following stub:</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;request&quot;: {
          &quot;method&quot;: &quot;GET&quot;,
          &quot;urlPathPattern&quot;: &quot;/store/item/.*&quot;
      },
      &quot;response&quot;: {
          &quot;status&quot;: 200,
          &quot;bodyFileName&quot;: &quot;item{{request.pathSegments.[2]}}.json&quot;,
          &quot;headers&quot;: {
              &quot;Content-Type&quot;: &quot;application/json&quot;
          },
          &quot;transformers&quot;: [&quot;response-template&quot;]
      }
  }
  </code></pre>
  <p>An example would be to return a 404 if there was a request for /store/item/1234 and item1234.json did not exist.</p>