adapted to slit folders for branches