removed the use of SelfType
use S3Pattern to list files and check for existence
use Temporary functions from mundane-io and saws