create a function that will create default .type files if they are missing.
create a function that will create default .type files if they are missing.