support any folderish type