Added ability to read s3 configuration from local path