Add access creds file support

* change variable expansion format
Add tests for s3 interface