updates for s3 adoptor
added implementation for isDirectory and isFile