title: Downloading a file from google cloud storage inside a folder
body: <p>I've got a python script that gets a list of files that have been uploaded to a google cloud storage bucket, and attempts to retrieve the data as a string.</p>
  
  <p>The code is simply: </p>
  
  <pre><code>file = open(base_dir + "/" + path, 'wb')
  data =  Blob(path, bucket).download_as_string()
  file.write(data)
  </code></pre>
  
  <p>My issue is that the data I've uploaded is stored inside folders in the bucket, so the path would be something like:</p>
  
  <pre><code>folder/innerfolder/file.jpg
  </code></pre>
  
  <p>When the google library attempts to download the file, it gets it in the form of a GET request, which turns the above path into:</p>
  
  <pre><code>https://www.googleapis.com/storage/v1/b/bucket/o/folder%2Finnerfolder%2Ffile.jpg
  </code></pre>
  
  <p>Is there any way to stop this happening / download the file though this way? Cheers.</p>