dynamically generates links based on folder names in s3, view template is broken though