Widget behavior when file seted