handled case of existing folder