Add of file core main and dialog