splitoff the subtypes into seperate files