With the input of a bucket, filePrefix, and delimiter, This code will retrieve the contents specified and any sub directories immediatly beneath.