implement support of many folders