folder extraction