overhauled to accommodate file provisions directly in S3