folder validation