title: Load filenames into array without directory name or extension
body: <p>I'm trying to load filenames to an array in bash. Currently, I'm using:</p>
  
  <pre><code>testarr=(csv/*.csv)
  </code></pre>
  
  <p>Which is giving me elements like </p>
  
  <pre><code>csv/filename.csv
  </code></pre>
  
  <p>How can I add only 'filename' to the array?</p>
  
  <p>Thanks!</p>