adding support for s3 and path method for local
path for s3
s3 tests