added by_bucket scope on File