Allow files to be viewed from amazon s3 or with query string