type info is take from the folder name and write.