completed base functionality for s3_explore.rb