title: Correct way to use Google Cloud Storage SDK
body: <p>I am trying to list of files in my GCP bucket using Google Cloud Storage SDK using scala.</p>
  
  <p>For example I have a bucket named <code>bucket-1</code> and there is a folder inside it <code>folder-1</code> and I want to list all the files inside <code>folder-1</code>. </p>
  
  <p>I tried using below code but it doesn't return anything inside <code>folder-1</code></p>
  
  <pre><code>val files = storage.list("bucket-1",BlobListOption.currentDirectory(), BlobListOption.prefix("folder-1"))
  </code></pre>
  
  <p>The problem is objects/files inside the <code>folder-1</code> doesn't have any set prefix due to which I can't add it in <code>BlobListOption.prefix</code> call.</p>