adding core file