use determine to check if a S3 location is a directory
use the configuration from TemporaryConf