create core file