modified to import a folder in the bucket, not the whole bucket (too slow to import the bucket now)