Creat main files