title: How to read local files in the Google Cloud Functions emulator?
body: <p>My Google Cloud Function needs to read a local file (an image).
  I've added the image in the function directory tree, so I have:</p>
  
  <pre><code>packages.json
  src/functions.js
  lib/functions.js
  img/shower.png
  </code></pre>
  
  <p>This is the code I'm using to read it:</p>
  
  <pre><code>var img = await new Jimp.read("../img/shower.png")
  </code></pre>
  
  <p>Now, when the function triggers, I'm getting this:
  <code>2017-03-30T03:00:25.118Z - error: (node:1685) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '../img/shower.png'</code></p>
  
  <p>I've tried moving the image around, eg to the directory where my function resides (<code>lib/</code>) with no luck.</p>
  
  <p>I've also logged <code>process.cwd()</code> which returned an unexpected: <code>/usr/local/lib/node_modules/@google-cloud/functions-emulator</code></p>
  
  <p>Any hints? </p>