added S3 methods taking FilePaths