title: Cannot find file in AWS Lambda function
body: <p>I'm using AWS Chalice to deploy my lamdbda function with. </p>
  
  <p>I want to include a file which is read by the function however, I cannot find this file when the lambda function runs.</p>
  
  <p>It should be in the same directory as the app.py however a simple check using</p>
  
  <pre><code>if os.path.isfile('file.json'):
  </code></pre>
  
  <p>does not find it. </p>
  
  <p>Am I missing something obvious about AWS Lambda and how it packages my code?</p>