Updating getFiles and removeFile to use aws-sdk