Added directory and file implementation for AWS