discovering folder automatically