Create core file