splitfromsubassem is now the only used split and creates a folder when mkdir is true