title: Bash Script Reading Files of a directory into Array
body: <p>I am having trouble reading file into an array in bash.</p>
  
  <p>I have noticed that people do not recommend using the ls -1 option.
  Is there a way to get around this?</p>